/* eslint-disable */
/* tslint:disable */
// @ts-nocheck
/*
 * ---------------------------------------------------------------
 * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API        ##
 * ##                                                           ##
 * ## AUTHOR: acacode                                           ##
 * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
 * ---------------------------------------------------------------
 */

export interface AspireCoreModelsBaseSearchModel {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
}

export interface AspireCoreModelsListModel1KunlunDomainEntitiesSmsHistoryKunlunDomainVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunDomainEntitiesSmsHistory[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsAccountApplicationListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsAccountApplicationListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsAccountListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsAccountListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsAdminRoleModelKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsAdminRoleModel[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsAdminUserModelKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsAdminUserModel[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsAgentApplicationModelKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsAgentApplicationModel[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsAppointmentListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsAppointmentListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsArticleCategoryListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsArticleCategoryListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsArticleListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsArticleListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsCouponListResponseKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsCouponListResponse[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsCouponPackageCardExchangeRecordListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsCouponPackageCardExchangeRecordListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsCouponPackageCardListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsCouponPackageCardListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsCouponPackageListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsCouponPackageListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsCouponReceiveRecordResponseKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsCouponReceiveRecordResponse[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsCustomerServiceListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsCustomerServiceListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsDivideListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsDivideListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsDoctorListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsDoctorListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsEntryApplicationModelKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsEntryApplicationModel[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsFudanDepartmentListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsFudanDepartmentListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsHealthCheckDeviceListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsHealthCheckDeviceListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsHealthCheckReportListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsHealthCheckReportListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsInventoryListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsInventoryListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsMallOrderListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsMallOrderListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsMemberAddressListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsMemberAddressListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsMemberListResponseKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsMemberListResponse[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsMerchantPolicyListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsMerchantPolicyListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsMerchantPurchasePolicyListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsMerchantPurchasePolicyListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsOperationFeeModelKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsOperationFeeModel[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsOrderListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsOrderListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsOrderRefundApplicationListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsOrderRefundApplicationListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsPageListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsPageListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsPlatformAccountListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsPlatformAccountListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsPolicyListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsPolicyListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsProductListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsProductListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsProductOrderListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsProductOrderListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsProductRevenueAllocationSchemeModelKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsProductRevenueAllocationSchemeModel[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsPromoterListResponseKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsPromoterListResponse[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsPromotionPolicyListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsPromotionPolicyListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsPurchaseCouponPackageListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsPurchaseCouponPackageListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsPurchaseOrderListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsPurchaseOrderListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsPurchasePolicyListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsPurchasePolicyListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsRegistrationRewardSettingListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsRegistrationRewardSettingListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsSkuListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsSkuListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsStockInListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsStockInListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsStockOutListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsStockOutListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsStockroomModelKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsStockroomModel[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsUserListResponseKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsUserListResponse[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsUserMenuListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsUserMenuListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsListModel1KunlunModelsWithdrawalListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull {
  list?: KunlunModelsWithdrawalListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface AspireCoreModelsPagedListSearchModel {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
}

export interface KunlunApplicationServicesMemberAppServiceUpdateAgentMembersRequest {
  defaultAncestorId?: string | null;
}

/** @format int32 */
export enum KunlunDomainAgentLevels {
  Value0 = 0,
  Value1 = 1,
  Value2 = 2,
  Value3 = 3,
  Value4 = 4,
  Value11 = 11,
  Value12 = 12,
  Value13 = 13,
  Value14 = 14,
  Value21 = 21,
}

/** @format int32 */
export enum KunlunDomainCouponExpirationTypes {
  Value100801 = 100801,
  Value100802 = 100802,
}

/** @format int32 */
export enum KunlunDomainCouponGoodsScope {
  Value100901 = 100901,
  Value100902 = 100902,
}

/** @format int32 */
export enum KunlunDomainCouponReceiveMethods {
  Value101001 = 101001,
  Value101002 = 101002,
}

/** @format int32 */
export enum KunlunDomainCouponReceiverType {
  Value100701 = 100701,
  Value100702 = 100702,
}

/** @format int32 */
export enum KunlunDomainCouponTarget {
  Value101401 = 101401,
  Value101402 = 101402,
  Value101403 = 101403,
}

/** @format int32 */
export enum KunlunDomainCouponTypes {
  Value1 = 1,
  Value2 = 2,
  Value3 = 3,
  Value4 = 4,
  Value5 = 5,
  Value6 = 6,
}

/** @format int32 */
export enum KunlunDomainDivideReceiverType {
  Value1 = 1,
  Value3 = 3,
  Value4 = 4,
}

/** @format int32 */
export enum KunlunDomainDoctorTitle {
  Value1 = 1,
  Value2 = 2,
  Value3 = 3,
  Value4 = 4,
}

/** @format int32 */
export enum KunlunDomainEntitiesAgentApplicationSource {
  Value1 = 1,
  Value2 = 2,
}

/** @format int32 */
export enum KunlunDomainEntitiesAgentApplicationState {
  Value1 = 1,
  Value2 = 2,
  Value3 = 3,
  Value4 = 4,
}

export interface KunlunDomainEntitiesAgentDivideSetting {
  /**
   * 有间接上级的直推上级比例(总奖金)
   * @format double
   */
  directReferrerPercentWithIndirectReferrer?: number | null;
  /**
   * 有间接上级的间接上级比例(总奖金)
   * @format double
   */
  indirectReferrerPercentWithIndirectReferrer?: number | null;
  /**
   * 间接上级数量
   * @format int32
   */
  indirectReferrers?: number | null;
  /**
   * 无间接上级的直推上级比例(总奖金)
   * @format double
   */
  directReferrerPercentWithoutIndirectReferrer?: number | null;
}

export interface KunlunDomainEntitiesAllowanceAccelerationSetting {
  /** 补贴返还对象 */
  target?: KunlunDomainEntitiesAllowanceRebateTarget;
  /** @format int32 */
  days?: number;
}

/**
 * 补贴返还对象
 * @format int32
 */
export enum KunlunDomainEntitiesAllowanceRebateTarget {
  Value0 = 0,
}

export interface KunlunDomainEntitiesAllowanceSetting {
  /** @format int64 */
  couponId?: number;
  /** @format int32 */
  qty?: number;
  /** @format int32 */
  days?: number;
}

/** @format int32 */
export enum KunlunDomainEntitiesAppointmentState {
  Value1 = 1,
  Value2 = 2,
  Value3 = 3,
  Value4 = 4,
}

/** @format int32 */
export enum KunlunDomainEntitiesArticleLayout {
  Value1 = 1,
  Value2 = 2,
}

/** @format int32 */
export enum KunlunDomainEntitiesArticleNavigationType {
  Value1 = 1,
  Value2 = 2,
}

/** @format int32 */
export enum KunlunDomainEntitiesBannerNavigationType {
  Value1 = 1,
  Value99 = 99,
}

/** @format int32 */
export enum KunlunDomainEntitiesBannerType {
  Value0 = 0,
  Value1 = 1,
}

/** 补贴转换 */
export interface KunlunDomainEntitiesCouponAllowanceConversion {
  /**
   * 每XX天
   * @format int32
   */
  everyDays?: number;
  /**
   * 申请补贴张数
   * @format int32
   */
  allowanceDays?: number;
  /** @format int64 */
  toCouponId?: number;
}

export interface KunlunDomainEntitiesCouponCommissionSaleSetting {
  isEnabled?: boolean;
  rebateCoupon?: KunlunDomainModelsCouponQty;
}

export interface KunlunDomainEntitiesCouponGoodsQty {
  /**
   * 商品Id
   * @format int64
   */
  id?: number;
  /**
   * 最大数量
   * @format int32
   */
  maxQty?: number | null;
}

/** @format int32 */
export enum KunlunDomainEntitiesCouponPackageCardType {
  Value1 = 1,
  Value2 = 2,
}

/** @format int32 */
export enum KunlunDomainEntitiesCouponPackageCondition {
  Value0 = 0,
  Value1 = 1,
  Value2 = 2,
}

export interface KunlunDomainEntitiesCouponPackageGallery {
  resourceUrl?: string | null;
  description?: string | null;
}

/** @format int32 */
export enum KunlunDomainEntitiesDivideState {
  Value1 = 1,
  Value2 = 2,
  Value3 = 3,
}

/** @format int32 */
export enum KunlunDomainEntitiesEntryApplicationState {
  Value1 = 1,
  Value2 = 2,
  Value3 = 3,
  Value4 = 4,
}

/** @format int32 */
export enum KunlunDomainEntitiesHospitalOrderState {
  Value1 = 1,
  Value2 = 2,
}

/** @format int32 */
export enum KunlunDomainEntitiesHospitalProductType {
  Value1 = 1,
  Value2 = 2,
  Value3 = 3,
  Value4 = 4,
}

/** @format int32 */
export enum KunlunDomainEntitiesMallOrderState {
  Value1 = 1,
  Value2 = 2,
  Value3 = 3,
}

/** @format int32 */
export enum KunlunDomainEntitiesMemberRewardSettingLevels {
  Value0 = 0,
  Value1 = 1,
  Value2 = 2,
  Value3 = 3,
  Value4 = 4,
  Value11 = 11,
  Value12 = 12,
}

/** @format int32 */
export enum KunlunDomainEntitiesMemberRewardTargets {
  Value1 = 1,
  Value2 = 2,
  Value3 = 3,
  Value4 = 4,
}

/** @format int32 */
export enum KunlunDomainEntitiesMerchantEntryState {
  Value0 = 0,
  Value1 = 1,
  Value2 = 2,
}

export interface KunlunDomainEntitiesNavigationJumpParameterModel {
  type?: KunlunDomainEntitiesNavigationJumpParameterType;
  /** 参数值，类型=0,2,3时Value为对应Id，类型为属性时格式为attr:value */
  value?: string | null;
}

/** @format int32 */
export enum KunlunDomainEntitiesNavigationJumpParameterType {
  Value0 = 0,
  Value1 = 1,
  Value2 = 2,
  Value3 = 3,
  Value4 = 4,
}

/** @format int32 */
export enum KunlunDomainEntitiesNavigationJumpType {
  Value0 = 0,
  Value1 = 1,
  Value2 = 2,
  Value3 = 3,
}

/** @format int32 */
export enum KunlunDomainEntitiesNavigationSection {
  Value0 = 0,
  Value1 = 1,
}

export interface KunlunDomainEntitiesNullableAllowanceAccelerationSetting {
  /** 补贴返还对象 */
  target?: KunlunDomainEntitiesAllowanceRebateTarget;
  /** @format int32 */
  days?: number | null;
  isEmpty?: boolean;
  value?: KunlunDomainEntitiesAllowanceAccelerationSetting;
}

export interface KunlunDomainEntitiesNullableAllowanceSetting {
  /** @format int64 */
  couponId?: number | null;
  /** @format int32 */
  qty?: number | null;
  /** @format int32 */
  days?: number | null;
  isEmpty?: boolean;
  value?: KunlunDomainEntitiesAllowanceSetting;
}

export interface KunlunDomainEntitiesNullableCouponAllowanceConversion {
  /** @format int32 */
  everyDays?: number | null;
  /** @format int32 */
  allowanceDays?: number | null;
  /** @format int64 */
  toCouponId?: number | null;
  isEmpty?: boolean;
  /** 补贴转换 */
  value?: KunlunDomainEntitiesCouponAllowanceConversion;
}

export interface KunlunDomainEntitiesNullableCouponCommissionSaleSetting {
  isEnabled?: boolean;
  rebateCoupon?: KunlunDomainModelsNullableCouponQty;
  value?: KunlunDomainEntitiesCouponCommissionSaleSetting;
}

export interface KunlunDomainEntitiesNullableProductPriceScheme {
  /** @format double */
  price?: number | null;
  coupon?: KunlunDomainModelsNullableCouponQty;
  /** @format int32 */
  schemeId?: number | null;
}

/** @format int32 */
export enum KunlunDomainEntitiesOrderRefundApplicationState {
  Value1 = 1,
  Value2 = 2,
  Value3 = 3,
  Value4 = 4,
  Value5 = 5,
  Value6 = 6,
}

/**
 * 订单主状态
 * 正常流程：待支付->已支付->具体业务状态->已完成->已退款
 * 取消流程：待支付->已关闭
 * @format int32
 */
export enum KunlunDomainEntitiesOrderStates {
  Value101501 = 101501,
  Value101502 = 101502,
  Value101503 = 101503,
  Value101504 = 101504,
  Value101507 = 101507,
  Value101508 = 101508,
}

/** @format int32 */
export enum KunlunDomainEntitiesProductAttributeType {
  Value0 = 0,
  Value1 = 1,
}

export interface KunlunDomainEntitiesProductGalleryModel {
  /** @format int32 */
  id?: number | null;
  resourceUrl?: string | null;
  description?: string | null;
}

export interface KunlunDomainEntitiesProductOrderCollections {
  /** 患者手机 */
  hasPatientMobile?: boolean;
  /** 预约时间 */
  hasAppointmentTime?: boolean;
  /** 病情描述 */
  hasDescription?: boolean;
  /** 病历或检验单上传 */
  hasAttachments?: boolean;
}

/** @format int32 */
export enum KunlunDomainEntitiesPurchaseOrderDeliveryType {
  Value1 = 1,
  Value2 = 2,
}

/** @format int32 */
export enum KunlunDomainEntitiesPurchaseOrderStates {
  Value101501 = 101501,
  Value101502 = 101502,
  Value101503 = 101503,
  Value101504 = 101504,
  Value101505 = 101505,
  Value101506 = 101506,
  Value101507 = 101507,
}

/** @format int32 */
export enum KunlunDomainEntitiesPurchaseSettlementMode {
  Value0 = 0,
  Value1 = 1,
}

export interface KunlunDomainEntitiesQualificationFile {
  type?: string | null;
  picture?: string | null;
}

/** @format int32 */
export enum KunlunDomainEntitiesRegistrationRewardTargets {
  Value1 = 1,
  Value2 = 2,
}

export interface KunlunDomainEntitiesSmsHistory {
  /** @format int32 */
  id?: number;
  /**
   * @minLength 0
   * @maxLength 50
   */
  productName: string;
  /** @minLength 1 */
  content: string;
  /**
   * @minLength 0
   * @maxLength 300
   */
  phoneNumbers: string;
  /** @format date-time */
  sendTime?: string;
  success?: boolean;
  /** @minLength 1 */
  message: string;
  /** @minLength 1 */
  response: string;
  /** @format date-time */
  creationTime?: string;
}

/** @format int32 */
export enum KunlunDomainEntitiesStockInState {
  Value1 = 1,
  Value2 = 2,
  Value3 = 3,
  Value4 = 4,
}

/** @format int32 */
export enum KunlunDomainEntitiesStockOutState {
  Value1 = 1,
  Value2 = 2,
  Value3 = 3,
  Value4 = 4,
}

/** @format int32 */
export enum KunlunDomainEntitiesUserMenuNavigationType {
  Value0 = 0,
  Value1 = 1,
  Value2 = 2,
  Value3 = 3,
  Value4 = 4,
  Value5 = 5,
  Value99 = 99,
}

/** @format int32 */
export enum KunlunDomainEntitiesWidgetContentAreaType {
  Value0 = 0,
  Value1 = 1,
  Value2 = 2,
  Value3 = 3,
}

/** @format int32 */
export enum KunlunDomainEntitiesWidgetContentDataSource {
  Value0 = 0,
  Value1 = 1,
  Value2 = 2,
}

/** @format int32 */
export enum KunlunDomainEntitiesWidgetItemLayout {
  Value1 = 1,
  Value2 = 2,
  Value3 = 3,
}

/** @format int32 */
export enum KunlunDomainEntitiesWidgetItemNavigationType {
  Value0 = 0,
  Value1 = 1,
  Value10 = 10,
  Value11 = 11,
  Value20 = 20,
  Value30 = 30,
  Value40 = 40,
  Value41 = 41,
  Value50 = 50,
  Value98 = 98,
  Value99 = 99,
}

/** @format int32 */
export enum KunlunDomainEntitiesWidgetLayout {
  Value0 = 0,
  Value1 = 1,
}

export interface KunlunDomainExtensionsCommonDepartmentModel {
  /** @format int32 */
  id?: number;
  name: string | null;
  /** @format int32 */
  parentId?: number | null;
  /** @format int32 */
  fudanDepartmentId?: number | null;
  /** @format int32 */
  sort?: number;
}

/** @format int32 */
export enum KunlunDomainGender {
  Value0 = 0,
  Value1 = 1,
  Value2 = 2,
}

/** @format int32 */
export enum KunlunDomainInstitutionType {
  Value1 = 1,
  Value2 = 2,
}

/** @format int32 */
export enum KunlunDomainLimitedMemberLevel {
  Value0 = 0,
  Value1 = 1,
  Value2 = 2,
  Value3 = 3,
  Value4 = 4,
}

/** @format int32 */
export enum KunlunDomainMemberBillType {
  Value102601 = 102601,
  Value102602 = 102602,
  Value102603 = 102603,
  Value102604 = 102604,
  Value102605 = 102605,
  Value102606 = 102606,
  Value102607 = 102607,
  Value102608 = 102608,
  Value102609 = 102609,
  Value102610 = 102610,
  Value102611 = 102611,
  Value102612 = 102612,
  Value102613 = 102613,
  Value102615 = 102615,
}

/** @format int32 */
export enum KunlunDomainMemberLevels {
  Value102200 = 102200,
  Value102201 = 102201,
  Value102202 = 102202,
  Value102203 = 102203,
  Value102204 = 102204,
}

/** @format int32 */
export enum KunlunDomainMerchantBillType {
  Value102701 = 102701,
  Value102702 = 102702,
  Value102703 = 102703,
  Value102704 = 102704,
  Value102705 = 102705,
  Value102706 = 102706,
  Value102707 = 102707,
  Value102708 = 102708,
  Value102709 = 102709,
  Value102710 = 102710,
  Value102711 = 102711,
  Value102712 = 102712,
  Value102713 = 102713,
}

/** @format int32 */
export enum KunlunDomainMerchantCategory {
  Value1 = 1,
  Value2 = 2,
}

/** @format int32 */
export enum KunlunDomainMerchantStates {
  Value100101 = 100101,
  Value100102 = 100102,
}

/** 省市区 */
export interface KunlunDomainModelsAreaModel {
  province?: string | null;
  city?: string | null;
  county?: string | null;
  provinceName?: string | null;
  cityName?: string | null;
  countyName?: string | null;
  fullAreaName?: string | null;
}

export interface KunlunDomainModelsAreaRank {
  /** @format int32 */
  area?: number;
  /** @format int32 */
  rank?: number;
}

export interface KunlunDomainModelsCouponNameQty {
  /** @format int64 */
  id?: number;
  name?: string | null;
  /** @format int32 */
  qty?: number;
}

export interface KunlunDomainModelsCouponQty {
  /** @format int64 */
  id?: number;
  /** @format int32 */
  qty?: number;
}

export interface KunlunDomainModelsNullableAreaModel {
  province?: string | null;
  city?: string | null;
  county?: string | null;
}

export interface KunlunDomainModelsNullableAreaRank {
  /** @format int32 */
  area?: number | null;
  /** @format int32 */
  rank?: number | null;
  isNull?: boolean;
  isNotNull?: boolean;
  value?: KunlunDomainModelsAreaRank;
}

export interface KunlunDomainModelsNullableCouponQty {
  /** @format int64 */
  id?: number | null;
  /** @format int32 */
  qty?: number | null;
  isNull?: boolean;
  isNullOrEmpty?: boolean;
  isNotNull?: boolean;
  value?: KunlunDomainModelsCouponQty;
}

export interface KunlunDomainModelsPriceModel {
  /** @format double */
  price?: number;
  /** @format int64 */
  couponId?: number | null;
  couponName?: string | null;
  /** @format int32 */
  couponQty?: number | null;
  coupon?: KunlunDomainModelsCouponNameQty;
}

export interface KunlunDomainModelsSharePoster {
  resourceUrl?: string | null;
  description?: string | null;
}

export interface KunlunDomainModelsUpgradeRuleModel {
  /** 普通会员升级规则 */
  normalMember?: KunlunDomainModelsUpgradeRuleModelNormalMemberRule;
  /** 银卡会员升级规则 */
  silverMember?: KunlunDomainModelsUpgradeRuleModelSilverMemberRule;
  /** 金卡会员升级规则 */
  goldMember?: KunlunDomainModelsUpgradeRuleModelGoldMemberRule;
  /** 黑卡会员升级规则 */
  blackMember?: KunlunDomainModelsUpgradeRuleModelBlackMemberRule;
  /** 批发商 */
  wholesaler?: KunlunDomainModelsUpgradeRuleModelWholesalerRule;
  /** 代理商升级规则 */
  agent?: KunlunDomainModelsUpgradeRuleModelAgentRule;
  /** 合伙人升级规则 */
  partner?: KunlunDomainModelsUpgradeRuleModelPartnerRule;
}

/** 代理商升级规则 */
export interface KunlunDomainModelsUpgradeRuleModelAgentRule {
  /**
   * 直属下级批发商数量大于等于
   * @format int32
   */
  wholesalerDirectReferralsGreaterOrEqualThan?: number;
  /**
   * 累计采购金额大于等于
   * @format double
   */
  accumulatedPurchaseAmountGreaterOrEqualThan?: number;
}

/** 黑卡会员升级规则 */
export interface KunlunDomainModelsUpgradeRuleModelBlackMemberRule {
  /**
   * 套餐累计购买金额大于等于
   * @format double
   */
  packagePurchaseAmountGreaterOrEqualThan?: number;
  /**
   * 邀请用户注册数量大于等于
   * @format int32
   */
  inviteMembersGreaterOrEqualThan?: number;
  /** @format double */
  packagePurchaseAmount?: number;
  /** @format int32 */
  inviteMembers?: number;
  /**
   * 直属下级普通会员数量大于等于
   * @format int32
   */
  normalDirectReferralsGreaterOrEqualThan?: number;
  /** @format int32 */
  normalReferrals?: number;
  /**
   * 直属下级银卡会员数量大于等于
   * @format int32
   */
  silverDirectReferralsGreaterOrEqualThan?: number;
  /** @format int32 */
  silverReferrals?: number;
  /**
   * 直属下级金卡会员数量大于等于
   * @format int32
   */
  goldDirectReferralsGreaterOrEqualThan?: number;
  /** @format int32 */
  goldReferrals?: number;
}

/** 金卡会员升级规则 */
export interface KunlunDomainModelsUpgradeRuleModelGoldMemberRule {
  /**
   * 套餐累计购买金额大于等于
   * @format double
   */
  packagePurchaseAmountGreaterOrEqualThan?: number;
  /**
   * 邀请用户注册数量大于等于
   * @format int32
   */
  inviteMembersGreaterOrEqualThan?: number;
  /** @format double */
  packagePurchaseAmount?: number;
  /** @format int32 */
  inviteMembers?: number;
  /**
   * 直属下级普通会员数量大于等于
   * @format int32
   */
  normalDirectReferralsGreaterOrEqualThan?: number;
  /** @format int32 */
  normalReferrals?: number;
  /**
   * 直属下级银卡会员数量大于等于
   * @format int32
   */
  silverDirectReferralsGreaterOrEqualThan?: number;
  /** @format int32 */
  silverReferrals?: number;
}

/** 普通会员升级规则 */
export interface KunlunDomainModelsUpgradeRuleModelNormalMemberRule {
  /**
   * 套餐累计购买金额大于等于
   * @format double
   */
  packagePurchaseAmountGreaterOrEqualThan?: number;
  /**
   * 邀请用户注册数量大于等于
   * @format int32
   */
  inviteMembersGreaterOrEqualThan?: number;
  /** @format double */
  packagePurchaseAmount?: number;
  /** @format int32 */
  inviteMembers?: number;
}

/** 合伙人升级规则 */
export interface KunlunDomainModelsUpgradeRuleModelPartnerRule {
  /**
   * 直属下级代理商数量大于等于
   * @format int32
   */
  agentDirectReferralsGreaterOrEqualThan?: number;
  /**
   * 累计采购金额大于等于
   * @format double
   */
  accumulatedPurchaseAmountGreaterOrEqualThan?: number;
}

/** 银卡会员升级规则 */
export interface KunlunDomainModelsUpgradeRuleModelSilverMemberRule {
  /**
   * 套餐累计购买金额大于等于
   * @format double
   */
  packagePurchaseAmountGreaterOrEqualThan?: number;
  /**
   * 邀请用户注册数量大于等于
   * @format int32
   */
  inviteMembersGreaterOrEqualThan?: number;
  /** @format double */
  packagePurchaseAmount?: number;
  /** @format int32 */
  inviteMembers?: number;
  /**
   * 直属下级普通会员数量大于等于
   * @format int32
   */
  normalDirectReferralsGreaterOrEqualThan?: number;
  /** @format int32 */
  normalReferrals?: number;
}

/** 批发商 */
export interface KunlunDomainModelsUpgradeRuleModelWholesalerRule {
  /**
   * 直属下级银卡数量大于等于
   * @format int32
   */
  silverDirectReferralsGreaterOrEqualThan?: number;
}

/** @format int32 */
export enum KunlunDomainMoveDirection {
  Value0 = 0,
  Value1 = 1,
}

/** @format int32 */
export enum KunlunDomainOrderTypes {
  Value101905 = 101905,
  Value101906 = 101906,
  Value101907 = 101907,
  Value101908 = 101908,
  Value101910 = 101910,
  Value101911 = 101911,
  Value101912 = 101912,
  Value101999 = 101999,
}

/** @format int32 */
export enum KunlunDomainPlatformBillType {
  Value102801 = 102801,
  Value102802 = 102802,
  Value102803 = 102803,
  Value102804 = 102804,
  Value102805 = 102805,
  Value102806 = 102806,
  Value102807 = 102807,
  Value102808 = 102808,
  Value102809 = 102809,
  Value102810 = 102810,
  Value102811 = 102811,
  Value102812 = 102812,
}

/** @format int32 */
export enum KunlunDomainProductType {
  Value1 = 1,
  Value2 = 2,
  Value3 = 3,
}

/** @format int32 */
export enum KunlunDomainPromoterTypes {
  Value1 = 1,
  Value2 = 2,
}

export interface KunlunDomainProvidersHealthCheckIHealthCheckGetUserResponse {
  id?: string | null;
  status?: string | null;
  type?: string | null;
  userName?: string | null;
  mobilePhone?: string | null;
  realName?: string | null;
  sex?: KunlunDomainGender;
  /** @format int32 */
  age?: number | null;
  /** @format int64 */
  birthday?: number | null;
  /** @format double */
  weight?: number | null;
  /** @format double */
  height?: number | null;
  treePath?: string | null;
}

export interface KunlunDomainProvidersLogisticsILogisticsCreateOrderRequest {
  /** @format int64 */
  orderId?: number;
  sender?: KunlunDomainProvidersLogisticsILogisticsCreateOrderRequestContact;
  receiver?: KunlunDomainProvidersLogisticsILogisticsCreateOrderRequestContact;
  cargoes?: KunlunDomainProvidersLogisticsILogisticsCreateOrderRequestCargo[] | null;
}

export interface KunlunDomainProvidersLogisticsILogisticsCreateOrderRequestCargo {
  name?: string | null;
}

export interface KunlunDomainProvidersLogisticsILogisticsCreateOrderRequestContact {
  name?: string | null;
  phoneNumber?: string | null;
  province?: string | null;
  city?: string | null;
  county?: string | null;
  address?: string | null;
}

/** @format int32 */
export enum KunlunDomainReceivedCouponStates {
  Value101201 = 101201,
  Value101202 = 101202,
  Value101203 = 101203,
  Value101204 = 101204,
}

/**
 * 注册方式
 * @format int32
 */
export enum KunlunDomainRegistrationWays {
  Value1 = 1,
  Value2 = 2,
  Value3 = 3,
  Value4 = 4,
  Value5 = 5,
}

/** @format int32 */
export enum KunlunDomainStockOutType {
  Value1 = 1,
  Value2 = 2,
  Value3 = 3,
}

/** @format int32 */
export enum KunlunDomainStoreType {
  Value1 = 1,
  Value2 = 2,
}

/** @format int32 */
export enum KunlunDomainWithdrawalAccountState {
  Value1 = 1,
  Value2 = 2,
  Value3 = 3,
  Value4 = 4,
}

/** @format int32 */
export enum KunlunDomainWithdrawalAccountType {
  Value1 = 1,
  Value2 = 2,
  Value3 = 3,
  Value4 = 4,
}

/** @format int32 */
export enum KunlunDomainWithdrawalState {
  Value102901 = 102901,
  Value102902 = 102902,
  Value102903 = 102903,
  Value102904 = 102904,
  Value102905 = 102905,
  Value102906 = 102906,
  Value102907 = 102907,
}

/** @format int32 */
export enum KunlunInfrastructureAuthMerchantAdminRoles {
  Value1 = 1,
  Value4 = 4,
  Value5 = 5,
  Value6 = 6,
  Value7 = 7,
  Value8 = 8,
  Value9 = 9,
}

/** @format int32 */
export enum KunlunInfrastructureExtensionsVerificationCodeTypes {
  Value1 = 1,
  Value2 = 2,
  Value3 = 3,
  Value4 = 4,
}

export interface KunlunInfrastructureModelsBaseIdModel1SystemGuidSystemPrivateCoreLibVersion9000CultureNeutralPublicKeyToken7Cec85D7Bea7798E {
  /** @format uuid */
  id?: string;
}

export interface KunlunInfrastructureModelsBaseIdModel1SystemInt32SystemPrivateCoreLibVersion9000CultureNeutralPublicKeyToken7Cec85D7Bea7798E {
  /** @format int32 */
  id?: number;
}

export interface KunlunInfrastructureModelsBaseIdModel1SystemInt64SystemPrivateCoreLibVersion9000CultureNeutralPublicKeyToken7Cec85D7Bea7798E {
  /** @format int64 */
  id?: number;
}

export interface KunlunInfrastructureModelsBaseIdModel1SystemStringSystemPrivateCoreLibVersion9000CultureNeutralPublicKeyToken7Cec85D7Bea7798E {
  id?: string | null;
}

export interface KunlunInfrastructureModelsDateRange {
  /** @format date */
  begin?: string | null;
  /** @format date */
  end?: string | null;
}

export interface KunlunInfrastructureModelsIdNameModel1SystemStringSystemPrivateCoreLibVersion9000CultureNeutralPublicKeyToken7Cec85D7Bea7798E {
  id?: string | null;
  name?: string | null;
}

export interface KunlunInfrastructureModelsLatLngModel {
  /** @format double */
  lat?: number;
  /** @format double */
  lng?: number;
}

export interface KunlunInfrastructureModelsSearchCriteriaItem {
  text?: string | null;
  value?: any;
  items?: KunlunInfrastructureModelsSearchCriteriaItem[] | null;
}

export interface KunlunInfrastructureModelsSearchCriteriaModel {
  label?: string | null;
  field?: string | null;
  isArea?: boolean;
  /** @format int32 */
  areaLevel?: number | null;
  isSort?: boolean;
  items?: KunlunInfrastructureModelsSearchCriteriaItem[] | null;
  sortItems?: KunlunInfrastructureModelsSearchSortItem[] | null;
}

export interface KunlunInfrastructureModelsSearchSortItem {
  text?: string | null;
  sortField?: string | null;
  sortType?: string | null;
  value?: string | null;
}

export interface KunlunInfrastructureServicesTencentMapIpLocationResult {
  ip?: string | null;
  location?: KunlunInfrastructureModelsLatLngModel;
  addressInfo?: KunlunInfrastructureServicesTencentMapIpLocationResultAddressInfoModel;
}

export interface KunlunInfrastructureServicesTencentMapIpLocationResultAddressInfoModel {
  nation?: string | null;
  /** @format int32 */
  nationCode?: number;
  province?: string | null;
  city?: string | null;
  district?: string | null;
  /** @format int32 */
  adCode?: number;
}

export interface KunlunInfrastructureServicesWechatGetUserNotifyResponseNotifyInfoModel {
  /** @format int32 */
  notifyType?: number;
  contentJson?: string | null;
  /** @format int32 */
  codeState?: number;
  /** @format int64 */
  codeExpireTime?: number;
}

export interface KunlunModelsAccountApplicationDetailResponse {
  /** @format int32 */
  id?: number;
  name?: string | null;
  type?: KunlunDomainWithdrawalAccountType;
  typeName?: string | null;
  merchantId?: string | null;
  merchantName?: string | null;
  merchantAdminId?: string | null;
  merchantAdminName?: string | null;
  memberId?: string | null;
  memberName?: string | null;
  userName?: string | null;
  memberMobile?: string | null;
  idCardNumber?: string | null;
  bankId?: string | null;
  bankAccountNumber?: string | null;
  mobile?: string | null;
  email?: string | null;
  idCardFront?: string | null;
  idCardBack?: string | null;
  bankCardFront?: string | null;
  bankCardBack?: string | null;
  handIdCard?: string | null;
  handBankCard?: string | null;
  state?: KunlunDomainWithdrawalAccountState;
  stateName?: string | null;
  approverName?: string | null;
  approvalRemark?: string | null;
  /** @format date-time */
  creationTime?: string;
  /** @format date-time */
  approvalTime?: string | null;
  creatorName?: string | null;
}

export interface KunlunModelsAccountApplicationListItem {
  /** @format int32 */
  id?: number;
  name?: string | null;
  type?: KunlunDomainWithdrawalAccountType;
  typeName?: string | null;
  memberName?: string | null;
  userName?: string | null;
  memberMobile?: string | null;
  merchantName?: string | null;
  merchantAdminName?: string | null;
  /** @format date-time */
  creationTime?: string;
  state?: KunlunDomainWithdrawalAccountState;
  stateName?: string | null;
  approverName?: string | null;
  approvalRemark?: string | null;
}

export interface KunlunModelsAccountApplicationListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  type?: KunlunDomainWithdrawalAccountType;
  state?: KunlunDomainWithdrawalAccountState;
}

export interface KunlunModelsAccountDetailResponse {
  type?: KunlunDomainWithdrawalAccountType;
  /** @minLength 1 */
  name: string;
  /** @minLength 1 */
  bankId: string;
  /** @minLength 1 */
  bankAccountNumber: string;
  idCardNumber?: string | null;
  mobile?: string | null;
  email?: string | null;
  idCardFront?: string | null;
  idCardBack?: string | null;
  bankCardFront?: string | null;
  bankCardBack?: string | null;
  handIdCard?: string | null;
  handBankCard?: string | null;
  isDefault?: boolean;
  isEnabled?: boolean;
  isConfirmed?: boolean;
  /** @format int32 */
  id?: number;
  typeName?: string | null;
  memberName?: string | null;
  userName?: string | null;
  memberMobile?: string | null;
  merchantName?: string | null;
  merchantAdminName?: string | null;
  bankName?: string | null;
}

export interface KunlunModelsAccountListItem {
  type?: KunlunDomainWithdrawalAccountType;
  /** @minLength 1 */
  name: string;
  /** @minLength 1 */
  bankId: string;
  /** @minLength 1 */
  bankAccountNumber: string;
  idCardNumber?: string | null;
  mobile?: string | null;
  email?: string | null;
  idCardFront?: string | null;
  idCardBack?: string | null;
  bankCardFront?: string | null;
  bankCardBack?: string | null;
  handIdCard?: string | null;
  handBankCard?: string | null;
  isDefault?: boolean;
  isEnabled?: boolean;
  isConfirmed?: boolean;
  /** @format int32 */
  id?: number;
  typeName?: string | null;
  memberName?: string | null;
  userName?: string | null;
  memberMobile?: string | null;
  merchantName?: string | null;
  merchantAdminName?: string | null;
  bankName?: string | null;
  /** @format date-time */
  creationTime?: string;
}

export interface KunlunModelsAccountListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  type?: KunlunDomainWithdrawalAccountType;
  state?: KunlunDomainWithdrawalAccountState;
}

export interface KunlunModelsAddAgentInstitutionsRequest {
  /** @format int64 */
  agentId?: number;
  institutionIds?: number[] | null;
}

export interface KunlunModelsAddMerchantGalleryRequest {
  /** @format int64 */
  merchantId?: number;
  resourceUrl?: string | null;
  description?: string | null;
}

export interface KunlunModelsAddMerchantPartnerAreaRequest {
  /** @format int64 */
  merchantId?: number;
  /** 省市区 */
  area?: KunlunDomainModelsAreaModel;
}

export interface KunlunModelsAdminLoginRequest {
  /** @minLength 1 */
  account: string;
  /** @minLength 1 */
  password: string;
  code?: string | null;
}

export interface KunlunModelsAdminLoginResponse {
  id?: string | null;
  account?: string | null;
  name?: string | null;
  token?: string | null;
  features?: string[] | null;
  isSuper?: boolean;
}

export interface KunlunModelsAdminRoleModel {
  /** @format int32 */
  id?: number;
  /** @minLength 1 */
  name: string;
  remark?: string | null;
  isSuper?: boolean;
}

export interface KunlunModelsAdminUserModel {
  id?: string | null;
  /** @minLength 1 */
  name: string;
  account?: string | null;
  fullName?: string | null;
  password?: string | null;
  isEnabled?: boolean;
  role?: string | null;
  roles?: number[] | null;
  roleNames?: string[] | null;
  /** 省市区 */
  region?: KunlunDomainModelsAreaModel;
  regionName?: string | null;
}

export interface KunlunModelsAdminUserSearchModel {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  state?: boolean | null;
  /** @format uuid */
  departmentId?: string | null;
}

export interface KunlunModelsAgentApplicationDetailResponse {
  /** @format uuid */
  id?: string;
  source?: KunlunDomainEntitiesAgentApplicationSource;
  sourceName?: string | null;
  merchantName?: string | null;
  levelName?: string | null;
  fullAreaName?: string | null;
  address?: string | null;
  adminAccount?: string | null;
  state?: KunlunDomainEntitiesAgentApplicationState;
  stateName?: string | null;
  creatorName?: string | null;
  /** @format date-time */
  submitTime?: string | null;
  approverName?: string | null;
  /** @format date-time */
  approvalTime?: string | null;
  rejectReason?: string | null;
  merchantId?: string | null;
  inviterName?: string | null;
  inviteMerchantName?: string | null;
}

export interface KunlunModelsAgentApplicationModel {
  /** @format uuid */
  id?: string;
  source?: KunlunDomainEntitiesAgentApplicationSource;
  sourceName?: string | null;
  merchantName?: string | null;
  levelName?: string | null;
  fullAreaName?: string | null;
  address?: string | null;
  /** 申请人 */
  creatorName?: string | null;
  /**
   * 提交时间
   * @format date-time
   */
  submitTime?: string | null;
  state?: KunlunDomainEntitiesAgentApplicationState;
  stateName?: string | null;
  approverName?: string | null;
  /** @format date-time */
  approvalTime?: string | null;
}

export interface KunlunModelsAgentInstitutionListItem {
  /** 运营商Id */
  agentId?: string | null;
  /** 机构Id */
  institutionId?: string | null;
  /** 机构名称 */
  institutionName?: string | null;
  /** 科室 */
  departmentNames?: string[] | null;
  /** 产品 */
  productNames?: string[] | null;
  /** 医生 */
  doctorNames?: string[] | null;
}

export interface KunlunModelsAgentInstitutionListRequest {
  /**
   * 运营商Id
   * @format int64
   */
  agentId?: number;
}

export interface KunlunModelsAgentInstitutionProductListItem {
  productSkuId?: string | null;
  productName?: string | null;
  categoryName?: string | null;
  spec?: string | null;
  price?: KunlunDomainModelsPriceModel;
  departmentIds?: string[] | null;
  departmentNames?: string[] | null;
  doctorIds?: string[] | null;
  doctorNames?: string[] | null;
  /** @format double */
  settlementPrice?: number;
  isOnline?: boolean;
  isFirst?: boolean;
  isLast?: boolean;
}

export interface KunlunModelsAgentInstitutionProductListRequest {
  /** @format int64 */
  agentId?: number;
  /** @format int64 */
  institutionId?: number;
}

export interface KunlunModelsAgentLevelDetailResponse {
  /** @format int32 */
  id?: number;
  name?: string | null;
  value?: KunlunDomainAgentLevels;
  /**
   * 银卡会员赠送数量
   * @format int32
   */
  silverMemberGiftQty?: number;
  /**
   * 金卡会员赠送数量
   * @format int32
   */
  goldMemberGiftQty?: number;
  instruction?: string | null;
  remark?: string | null;
}

export interface KunlunModelsAgentLevelListItem {
  /** @format int32 */
  id?: number;
  name?: string | null;
  value?: KunlunDomainAgentLevels;
  /**
   * 银卡会员赠送数量
   * @format int32
   */
  silverMemberGiftQty?: number;
  /**
   * 金卡会员赠送数量
   * @format int32
   */
  goldMemberGiftQty?: number;
  remark?: string | null;
}

export interface KunlunModelsAppointmentListItem {
  id?: string | null;
  state?: KunlunDomainEntitiesAppointmentState;
  stateName?: string | null;
  /** @format date-time */
  appointmentTime?: string;
  contactName?: string | null;
  contactNumber?: string | null;
  merchantId?: string | null;
  merchantName?: string | null;
  productId?: string | null;
  skuId?: string | null;
  skuName?: string | null;
  creatorName?: string | null;
  /** @format date-time */
  creationTime?: string;
  lastModifierName?: string | null;
  /** @format date-time */
  lastModificationTime?: string | null;
}

export interface KunlunModelsArticleCategoryCascadeListItem {
  /** @format int32 */
  id?: number;
  name?: string | null;
  children?: KunlunModelsArticleCategoryCascadeListItem[] | null;
}

export interface KunlunModelsArticleCategoryListItem {
  /** @format int32 */
  id?: number;
  name?: string | null;
  /** @format int32 */
  parentId?: number | null;
  parentName?: string | null;
  isEnabled?: boolean;
  /** @format date-time */
  creationTime?: string;
}

export interface KunlunModelsArticleCategoryListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  isEnabled?: boolean | null;
  /**
   * 层级(0: 一级分类，1：二级分类)
   * @format int32
   */
  level?: number | null;
  /**
   * 上级Id
   * @format int32
   */
  parentId?: number | null;
}

export interface KunlunModelsArticleDetailResponse {
  id?: string | null;
  title?: string | null;
  cover?: string | null;
  /** @format int32 */
  categoryId?: number;
  layout?: KunlunDomainEntitiesArticleLayout;
  content?: string | null;
  sections?: KunlunModelsArticleDetailResponseSectionModel[] | null;
  /** 是否发布 */
  isPublished?: boolean;
}

export interface KunlunModelsArticleDetailResponseSectionModel {
  /** @format int32 */
  id?: number;
  title?: string | null;
  content?: string | null;
}

export interface KunlunModelsArticleListItem {
  id?: string | null;
  title?: string | null;
  cover?: string | null;
  categoryName?: string | null;
  isPublished?: boolean;
  /** @format date-time */
  publishTime?: string | null;
  /** @format date-time */
  creationTime?: string;
  creatorName?: string | null;
  /** @format date-time */
  lastModificationTime?: string | null;
  lastModifierName?: string | null;
}

export interface KunlunModelsArticleListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  isPublished?: boolean | null;
}

export interface KunlunModelsArticleNavigationListItem {
  /** @format int32 */
  id?: number;
  icon?: string | null;
  title?: string | null;
  type?: KunlunDomainEntitiesArticleNavigationType;
  typeName?: string | null;
  parameters?: any;
  /** @format date-time */
  creationTime?: string;
  creatorName?: string | null;
  /** @format date-time */
  lastModificationTime?: string | null;
  lastModifierName?: string | null;
  /** @format int32 */
  sort?: number;
  isFirst?: boolean;
  isLast?: boolean;
}

export type KunlunModelsArticleNavigationListRequest = object;

export interface KunlunModelsAttributeDetailResponse {
  /** @format int32 */
  id?: number;
  name?: string | null;
  isEnabled?: boolean;
  type?: KunlunDomainEntitiesProductAttributeType;
  isMultiSelect?: boolean | null;
  showInListPage?: boolean;
  remark?: string | null;
}

export interface KunlunModelsAttributeListItem {
  /** @format int32 */
  id?: number;
  name?: string | null;
  type?: KunlunDomainEntitiesProductAttributeType;
  isMultiSelect?: boolean | null;
  values?: KunlunModelsAttributeListItemValueModel[] | null;
  remark?: string | null;
  isEnabled?: boolean;
  /** @format int32 */
  sort?: number;
  showInListPage?: boolean;
  isFirst?: boolean;
  isLast?: boolean;
}

export interface KunlunModelsAttributeListItemValueModel {
  /** @format int32 */
  id?: number;
  name?: string | null;
}

export interface KunlunModelsAttributeListRequest {
  /** @format int32 */
  categoryId?: number | null;
  includeCommon?: boolean | null;
  selectable?: boolean | null;
  isEnabled?: boolean | null;
}

export interface KunlunModelsAttributeValueListItem {
  /** @format int32 */
  id?: number;
  name?: string | null;
  isEnabled?: boolean;
  /** @format int32 */
  sort?: number;
  isFirst?: boolean;
  isLast?: boolean;
}

export interface KunlunModelsAttributeValueListRequest {
  /** @format int32 */
  attributeId?: number;
}

export interface KunlunModelsBankModel {
  id?: string | null;
  name?: string | null;
  shortName?: string | null;
}

export interface KunlunModelsBannerListItem {
  /** @format int32 */
  id?: number;
  type?: KunlunDomainEntitiesBannerType;
  typeName?: string | null;
  picture?: string | null;
  navigationType?: KunlunDomainEntitiesBannerNavigationType;
  navigationTypeName?: string | null;
  parameters?: any;
  link?: string | null;
  /** @format int32 */
  sort?: number;
  isEnabled?: boolean;
  /** @format date-time */
  creationTime?: string;
  creatorName?: string | null;
  /** @format date-time */
  lastModificationTime?: string | null;
  lastModifierName?: string | null;
  isFirst?: boolean;
  isLast?: boolean;
}

export interface KunlunModelsBrandModel {
  /** @format int32 */
  id?: number;
  name?: string | null;
}

export interface KunlunModelsBusinessQualificationModel {
  /** @minLength 1 */
  licenseNo: string;
  /** @minLength 1 */
  companyName: string;
  /** @minLength 1 */
  legalPerson: string;
  /** @format date */
  expirationDate?: string | null;
  files?: KunlunDomainEntitiesQualificationFile[] | null;
}

export interface KunlunModelsCascadedAreaItem {
  code?: string | null;
  name?: string | null;
  children?: KunlunModelsCascadedAreaItem[] | null;
}

export interface KunlunModelsCategoryCascadeItem {
  /** @format int32 */
  id?: number;
  name?: string | null;
  children?: KunlunModelsCategoryCascadeItem[] | null;
}

export interface KunlunModelsCategoryCascadeListRequest {
  type?: KunlunDomainProductType;
}

export interface KunlunModelsCategoryDetailResponse {
  /** @format int32 */
  id?: number;
  name?: string | null;
  type?: KunlunDomainProductType;
  /** @format int32 */
  parentId?: number | null;
  isEnabled?: boolean;
  remark?: string | null;
  hospitalProductType?: KunlunDomainEntitiesHospitalProductType;
}

export interface KunlunModelsCategoryListItem {
  /** @format int32 */
  id?: number;
  type?: KunlunDomainProductType;
  typeName?: string | null;
  name?: string | null;
  /** @format int32 */
  attributes?: number;
  remark?: string | null;
  isEnabled?: boolean;
  /** @format int32 */
  sort?: number;
  /** @format int32 */
  parentId?: number | null;
  parentName?: string | null;
  hospitalProductType?: KunlunDomainEntitiesHospitalProductType;
}

export interface KunlunModelsCategoryListRequest {
  type?: KunlunDomainProductType;
  /** @format int32 */
  parentId?: number | null;
  searchText?: string | null;
  isEnabled?: boolean | null;
}

export interface KunlunModelsChangePasswordRequest {
  /** @format int32 */
  userId?: number;
  /** @minLength 1 */
  oldPassword: string;
  /** @minLength 1 */
  newPassword: string;
  /** @minLength 1 */
  repeatPassword: string;
}

export interface KunlunModelsCheckMemberExistenceRequest {
  mobile?: string | null;
}

export interface KunlunModelsCloseUserRequest {
  /**
   * 用户Id
   * @format int64
   */
  id?: number | null;
  /** 用户账号 */
  account?: string | null;
}

export interface KunlunModelsCommonDepartmentListItem {
  /** @format int32 */
  id?: number;
  name?: string | null;
  /** @format int32 */
  parentId?: number | null;
  parentName?: string | null;
  /** @format int32 */
  fudanDepartmentId?: number | null;
  fudanDepartmentName?: string | null;
  isFirst?: boolean;
  isLast?: boolean;
}

export interface KunlunModelsCommonDepartmentListRequest {
  /** @format int32 */
  parentId?: number | null;
}

export interface KunlunModelsConfirmProductOrderAgentRequest {
  /** @format int64 */
  id?: number;
  /** @format int64 */
  agentId?: number;
}

export interface KunlunModelsCouponDetailResponse {
  id?: string | null;
  /** @format int32 */
  category?: number;
  type?: KunlunDomainCouponTypes;
  name?: string | null;
  /** @format double */
  amount?: number;
  /** @format int64 */
  relatedNormalCouponId?: number | null;
  unlimitedLevel?: KunlunDomainMemberLevels;
  expirationType?: KunlunDomainCouponExpirationTypes;
  /** @format date */
  beginTime?: string | null;
  /** @format date */
  endTime?: string | null;
  /** @format int32 */
  validityPeriod?: number | null;
  /** @format int32 */
  qty?: number;
  receiveMethod?: KunlunDomainCouponReceiveMethods;
  /** @format int32 */
  issueMethod?: number | null;
  /** @format int32 */
  receiveLimit?: number;
  allowSuperposition?: boolean;
  goodsScope?: KunlunDomainCouponGoodsScope;
  goodsIds?: string[] | null;
  goods?: KunlunDomainEntitiesCouponGoodsQty[] | null;
  goodsInfos?: KunlunModelsCouponDetailResponseGoodsInfo[] | null;
  poster?: string | null;
  remark?: string | null;
  instruction?: string | null;
  isEnabled?: boolean;
  /**
   * 每满X元使用可使用优惠券
   * @format double
   */
  everyAmount?: number | null;
  /** 补贴转换 */
  allowanceConversion?: KunlunDomainEntitiesCouponAllowanceConversion;
  commissionSale?: KunlunDomainEntitiesCouponCommissionSaleSetting;
}

export interface KunlunModelsCouponDetailResponseGoodsInfo {
  id?: string | null;
  productName?: string | null;
  spec?: string | null;
  /** @format double */
  price?: number;
  /**
   * 最大购买数量
   * @format int32
   */
  maxQty?: number | null;
}

export interface KunlunModelsCouponInstructionResponse {
  content?: string | null;
}

export interface KunlunModelsCouponListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  type?: KunlunDomainCouponTypes;
  types?: KunlunDomainCouponTypes[] | null;
  /** @format int32 */
  category?: number | null;
  isEnabled?: boolean | null;
}

export interface KunlunModelsCouponListResponse {
  id?: string | null;
  categoryName?: string | null;
  type?: KunlunDomainCouponTypes;
  typeName?: string | null;
  name?: string | null;
  /** @format double */
  amount?: number;
  expirationType?: KunlunDomainCouponExpirationTypes;
  /** @format date */
  beginTime?: string | null;
  /** @format date */
  endTime?: string | null;
  /** @format int32 */
  validityPeriod?: number | null;
  receiveMethodName?: string | null;
  issueMethodName?: string | null;
  /** @format int32 */
  qty?: number;
  /** @format int32 */
  receiveQty?: number;
  /** @format int32 */
  usedQty?: number;
  isEnabled?: boolean;
}

export interface KunlunModelsCouponPackageCardExchangeRecordListItem {
  id?: string | null;
  code?: string | null;
  /** @format date-time */
  creationTime?: string;
  packageId?: string | null;
  packageName?: string | null;
  /** @format double */
  packagePrice?: number;
  /** @format int32 */
  couponCount?: number;
  merchantName?: string | null;
  memberName?: string | null;
  /** @format date-time */
  exchangeTime?: string;
  remark?: string | null;
}

export interface KunlunModelsCouponPackageCardExchangeRecordListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  code?: string | null;
  packageName?: string | null;
  merchantName?: string | null;
  /** @format date-time */
  exchangeBeginDate?: string | null;
  /** @format date-time */
  exchangeEndDate?: string | null;
}

export interface KunlunModelsCouponPackageCardListItem {
  id?: string | null;
  code?: string | null;
  type?: KunlunDomainEntitiesCouponPackageCardType;
  typeName?: string | null;
  isPublished?: boolean;
  /** @format date-time */
  creationTime?: string;
  packageId?: string | null;
  packageName?: string | null;
  /** @format double */
  packagePrice?: number | null;
  /** @format int32 */
  couponCount?: number | null;
  merchantName?: string | null;
  /** 权益卡所有者(推广用户)Id */
  ownerMemberId?: string | null;
  /** 权益卡所有者(推广用户) */
  ownerMemberName?: string | null;
  ownerMemberMobile?: string | null;
  isExchanged?: boolean;
  memberName?: string | null;
  /** @format date-time */
  exchangeTime?: string | null;
  remark?: string | null;
}

export interface KunlunModelsCouponPackageCardListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  type?: KunlunDomainEntitiesCouponPackageCardType;
  isPublished?: boolean | null;
  isExchanged?: boolean | null;
  code?: string | null;
  packageName?: string | null;
  merchantName?: string | null;
}

export interface KunlunModelsCouponPackageCompensationSettingResponse {
  /**
   * 补偿金额比例(支付金额)
   * @format double
   */
  totalPercent?: number | null;
  /**
   * 有间接运营商的直接运营商比例(补偿金额)
   * @format double
   */
  directPercentWithIndirectReferrer?: number | null;
  /**
   * 有间接运营商的间接运营商比例(补偿金额)
   * @format double
   */
  indirectPercentWithIndirectReferrer?: number | null;
  /**
   * 无间接运营商的直推运营商比例(补偿金额)
   * @format double
   */
  directPercentWithoutIndirectReferrer?: number | null;
  id?: string | null;
}

export interface KunlunModelsCouponPackageCouponListRequest {
  /** @format int64 */
  couponPackageId?: number;
}

export interface KunlunModelsCouponPackageCouponListResponse {
  /** @format int32 */
  id?: number;
  target?: KunlunDomainCouponTarget;
  targetName?: string | null;
  scope?: KunlunDomainCouponReceiverType;
  scopeName?: string | null;
  condition?: KunlunDomainEntitiesCouponPackageCondition;
  conditionName?: string | null;
  couponId?: string | null;
  couponTypeName?: string | null;
  couponName?: string | null;
  /** @format double */
  couponAmount?: number;
  /** @format int32 */
  couponRestQty?: number;
  /** @format int32 */
  qty?: number;
  remark?: string | null;
}

export interface KunlunModelsCouponPackageDetailResponse {
  id?: string | null;
  name?: string | null;
  shortName?: string | null;
  /** @format int32 */
  type?: number;
  picture?: string | null;
  galleries?: KunlunDomainEntitiesCouponPackageGallery[] | null;
  sharePosters?: KunlunDomainModelsSharePoster[] | null;
  /** @format double */
  listPrice?: number | null;
  /** @format double */
  price?: number;
  /** @format double */
  memberPrice?: number;
  /** 会员等级对应的会员价 */
  memberPrices?: {
    /** @format double */
    非会员?: number;
    /** @format double */
    普通会员?: number;
    /** @format double */
    银卡会员?: number;
    /** @format double */
    金卡会员?: number;
    /** @format double */
    黑卡会员?: number;
  } | null;
  /** 限制等级(可购买等级) */
  limitedLevels?: KunlunDomainMemberLevels[] | null;
  memberUpgradeTo?: KunlunDomainMemberLevels;
  promoterUpgradeTo?: KunlunDomainPromoterTypes;
  /** 允许商家赠送 */
  allowMerchantGive?: boolean;
  /** 邀请卡 */
  memberCards?: {
    /** @format int32 */
    非会员?: number;
    /** @format int32 */
    普通会员?: number;
    /** @format int32 */
    银卡会员?: number;
    /** @format int32 */
    金卡会员?: number;
    /** @format int32 */
    黑卡会员?: number;
  } | null;
  /** @format int32 */
  validityPeriod?: number;
  description?: string | null;
  isOnline?: boolean;
  showInMyPage?: boolean;
  /** 是否权益卡 */
  isEquity?: boolean;
  /**
   * 每个用户限购数量
   * @format int32
   */
  purchaseLimitationQtyPerUser?: number | null;
  allowance?: KunlunDomainEntitiesAllowanceSetting;
  allowanceAcceleration?: KunlunDomainEntitiesAllowanceAccelerationSetting;
}

export interface KunlunModelsCouponPackageListItem {
  id?: string | null;
  name?: string | null;
  shortName?: string | null;
  /** @format int32 */
  type?: number;
  typeIds?: number[] | null;
  typeName?: string | null;
  typeNames?: string[] | null;
  picture?: string | null;
  /** @format double */
  listPrice?: number | null;
  /** @format double */
  price?: number;
  /** @format double */
  memberPrice?: number;
  upgradeToName?: string | null;
  /** @format int32 */
  validityPeriod?: number;
  /** @format int32 */
  totalQty?: number;
  isOnline?: boolean;
  coupons?: KunlunModelsCouponPackageListItemCouponInfo[] | null;
}

export interface KunlunModelsCouponPackageListItemCouponInfo {
  name?: string | null;
  /** @format double */
  amount?: number;
  /** @format int32 */
  qty?: number;
}

export interface KunlunModelsCouponPackageListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  isOnline?: boolean | null;
  /** @format int32 */
  type?: number | null;
}

export interface KunlunModelsCouponPackageMerchantPromotionPolicyListItem {
  merchantId?: string | null;
  merchantName?: string | null;
  /** @format int32 */
  promotionPolicyId?: number;
  promotionPolicyName?: string | null;
  promotionPolicyRemark?: string | null;
  promotionPolicyIsEnabled?: boolean;
}

export interface KunlunModelsCouponPackageMerchantPromotionPolicyListRequest {
  /** @format int64 */
  couponPackageId?: number;
}

export interface KunlunModelsCouponPackageRewardSettingListItem {
  /** @format int32 */
  id?: number;
  parentLevel?: KunlunDomainEntitiesMemberRewardSettingLevels;
  parentLevelName?: string | null;
  ancestorLevel?: KunlunDomainEntitiesMemberRewardSettingLevels;
  ancestorLevelName?: string | null;
  ancestorOfAncestorLevel?: KunlunDomainEntitiesMemberRewardSettingLevels;
  ancestorOfAncestorLevelName?: string | null;
  target?: KunlunDomainEntitiesMemberRewardTargets;
  targetName?: string | null;
  /** 优惠券Id */
  couponId?: string | null;
  couponName?: string | null;
  /**
   * 优惠券面额
   * @format double
   */
  couponAmount?: number | null;
  couponType?: KunlunDomainCouponTypes;
  couponTypeName?: string | null;
  /** @format int32 */
  couponQty?: number | null;
  /**
   * 支付金额比例
   * @format double
   */
  amountPercent?: number | null;
  remark?: string | null;
}

export interface KunlunModelsCouponPackageRewardSettingListRequest {
  /** @format int64 */
  couponPackageId?: number;
}

export interface KunlunModelsCouponPackageSettlementPolicyListItem {
  agentLevel?: KunlunDomainAgentLevels;
  agentLevelName?: string | null;
  /** @format double */
  settlementPrice?: number | null;
}

export interface KunlunModelsCouponPackageSettlementPolicyListRequest {
  /** @format int64 */
  couponPackageId?: number;
}

export interface KunlunModelsCouponPackageTypeCascadeItem {
  /** @format int32 */
  id?: number;
  name?: string | null;
  children?: KunlunModelsCouponPackageTypeCascadeItem[] | null;
}

export interface KunlunModelsCouponPackageTypeListItem {
  /** @format int32 */
  id?: number;
  name?: string | null;
  picture?: string | null;
  remark?: string | null;
  isEnabled?: boolean;
  /** @format int32 */
  sort?: number;
  /** @format int32 */
  parentId?: number | null;
  parentName?: string | null;
}

export interface KunlunModelsCouponPackageTypeListRequest {
  /** @format int32 */
  parentId?: number | null;
  searchText?: string | null;
  isEnabled?: boolean | null;
}

export interface KunlunModelsCouponReceiveRecordRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  /** @format int64 */
  couponId?: number | null;
  state?: KunlunDomainReceivedCouponStates;
  /** @format date-time */
  beginTime?: string | null;
  /** @format date-time */
  endTime?: string | null;
  /** @format int64 */
  receiverId?: number | null;
  couponType?: KunlunDomainCouponTypes;
}

export interface KunlunModelsCouponReceiveRecordResponse {
  id?: string | null;
  couponId?: string | null;
  couponName?: string | null;
  /** @format double */
  amount?: number;
  receiverId?: string | null;
  receiverName?: string | null;
  /** @format date-time */
  receiveTime?: string;
  state?: KunlunDomainReceivedCouponStates;
  stateName?: string | null;
}

export interface KunlunModelsCouponTypeListResponse {
  /** @format int32 */
  id?: number;
  name?: string | null;
  /** @format int32 */
  category?: number;
  categoryName?: string | null;
  /** @format int32 */
  value?: number;
  description?: string | null;
  isEnabled?: boolean;
}

export interface KunlunModelsCreateAttributeRequest {
  /**
   * 分类Id(为null时为公共属性)
   * @format int32
   */
  categoryId?: number | null;
  /** @minLength 1 */
  name: string;
  isEnabled?: boolean;
  type?: KunlunDomainEntitiesProductAttributeType;
  isMultiSelect?: boolean | null;
  showInListPage?: boolean;
  remark?: string | null;
}

export interface KunlunModelsCreateAttributeValueRequest {
  /** @format int32 */
  attributeId?: number;
  /** @minLength 1 */
  name: string;
  isEnabled?: boolean;
}

export interface KunlunModelsCreateCategoryRequest {
  type?: KunlunDomainProductType;
  /** @format int32 */
  parentId?: number | null;
  /** @minLength 1 */
  name: string;
  isEnabled?: boolean;
  remark?: string | null;
  hospitalProductType?: KunlunDomainEntitiesHospitalProductType;
}

export interface KunlunModelsCreateCouponPackageCardRequest {
  /** @minLength 1 */
  code: string;
  type?: KunlunDomainEntitiesCouponPackageCardType;
  /** @format int64 */
  packageId?: number | null;
  /** @format int64 */
  merchantId?: number | null;
  remark?: string | null;
}

export interface KunlunModelsCreateProductRequest {
  /** @minLength 1 */
  name: string;
  /** @minLength 1 */
  picture: string;
  galleries?: KunlunDomainEntitiesProductGalleryModel[] | null;
  type?: KunlunDomainProductType;
  /** @format int32 */
  tag?: number;
  /** @format int32 */
  categoryId?: number;
  attributes?: Record<string, any>;
  /** @minLength 1 */
  description: string;
  appointmentInstruction?: string | null;
  sharePosters?: KunlunDomainModelsSharePoster[] | null;
  remark?: string | null;
  orderCollections?: KunlunDomainEntitiesProductOrderCollections;
  /** 告知书标题 */
  noticeTitle?: string | null;
  /** 告知书内容 */
  noticeContent?: string | null;
  hospitalProductType?: KunlunDomainEntitiesHospitalProductType;
  allowanceAcceleration?: KunlunDomainEntitiesNullableAllowanceAccelerationSetting;
}

export interface KunlunModelsCustomerServiceListItem {
  /** @format int32 */
  id?: number;
  area?: KunlunDomainModelsNullableAreaModel;
  /** 联系电话 */
  contactNumber?: string | null;
  /** 企业微信 */
  workWeixin?: string | null;
  /** 企业微信二维码 */
  workWeixinQrCode?: string | null;
  fullAreaName?: string | null;
}

export interface KunlunModelsCustomerServiceListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  area?: KunlunDomainModelsNullableAreaModel;
}

export interface KunlunModelsDeleteAgentInstitutionProductRequest {
  /** @format int64 */
  agentId?: number;
  /** @format int64 */
  institutionId?: number;
  /** @format int64 */
  productSkuId?: number;
}

export interface KunlunModelsDeleteAgentInstitutionRequest {
  /** @format int64 */
  agentId?: number;
  /** @format int64 */
  institutionId?: number;
}

export interface KunlunModelsDeleteCouponPackageMerchantPromotionPolicyRequest {
  /** @format int64 */
  couponPackageId?: number;
  /** @format int64 */
  merchantId?: number;
}

export interface KunlunModelsDeleteMerchantAdvantageRequest {
  /** @format int64 */
  merchantId?: number;
  /** @format int32 */
  fudanDepartmentId?: number;
}

export interface KunlunModelsDeleteMerchantProductRequest {
  /** @format int64 */
  merchantId?: number;
  /** @format int64 */
  productId?: number;
  /** @format int64 */
  productSkuId?: number;
}

export interface KunlunModelsDeleteProductsRequest {
  ids?: number[] | null;
}

export interface KunlunModelsDepartmentCascadeListItem {
  /** @format int32 */
  id?: number;
  name?: string | null;
  children?: KunlunModelsDepartmentCascadeListItem[] | null;
}

export interface KunlunModelsDepartmentListRequest {
  /** 仅二级科室 */
  onlyChildren?: boolean | null;
}

export interface KunlunModelsDictionaryModel {
  /** @format int32 */
  id?: number;
  module?: string | null;
  /** @format int32 */
  sort?: number;
  /** @format int32 */
  value?: number;
  text?: string | null;
  remark?: string | null;
}

export interface KunlunModelsDictionaryRequest {
  module?: string | null;
}

export interface KunlunModelsDivideDetailListItem {
  orderId?: string | null;
  orderType?: KunlunDomainOrderTypes;
  orderTypeName?: string | null;
  memberName?: string | null;
  merchantName?: string | null;
  receiverId?: string | null;
  receiverName?: string | null;
  receiverType?: KunlunDomainDivideReceiverType;
  receiverTypeName?: string | null;
  /** @format double */
  amount?: number;
  /** @format double */
  percent?: number | null;
  remark?: string | null;
  state?: KunlunDomainEntitiesDivideState;
  stateName?: string | null;
  /** @format date-time */
  creationTime?: string;
}

export interface KunlunModelsDivideDetailListRequest {
  /** @format int64 */
  orderId?: number;
}

export interface KunlunModelsDivideListItem {
  orderId?: string | null;
  orderType?: KunlunDomainOrderTypes;
  orderTypeName?: string | null;
  memberName?: string | null;
  merchantName?: string | null;
  /** @format double */
  totalAmount?: number;
  /** @format double */
  divideAmount?: number;
  /** @format double */
  restAmount?: number;
  isDivideFinished?: boolean;
  /** @format date-time */
  orderTime?: string;
}

export interface KunlunModelsDivideListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  orderType?: KunlunDomainOrderTypes;
}

export interface KunlunModelsDoctorDetailResponse {
  /** @format int64 */
  id?: number;
  /** @format int64 */
  merchantId?: number;
  name?: string | null;
  avatar?: string | null;
  title?: KunlunDomainDoctorTitle;
  /** @format int64 */
  departmentId?: number | null;
  /** @format int32 */
  workingYears?: number | null;
  certificateNo?: string | null;
  certificatePicture?: string | null;
  skills?: string | null;
  introduction?: string | null;
  /** @format int32 */
  tag?: number | null;
}

export interface KunlunModelsDoctorListItem {
  /** @format int64 */
  id?: number;
  /** @format int64 */
  merchantId?: number;
  name?: string | null;
  avatar?: string | null;
  title?: KunlunDomainDoctorTitle;
  titleName?: string | null;
  /** @format int64 */
  departmentId?: number | null;
  departmentName?: string | null;
  /** @format int32 */
  workingYears?: number | null;
  certificateNo?: string | null;
  skills?: string | null;
  /** @format int32 */
  tag?: number | null;
  tagName?: string | null;
  /** @format date-time */
  creationTime?: string;
  creatorId?: string | null;
  creatorName?: string | null;
}

export interface KunlunModelsDoctorListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  /** @format int64 */
  merchantId?: number | null;
}

export interface KunlunModelsEntryApplicationDetailResponse {
  /** @format uuid */
  id?: string;
  merchantName?: string | null;
  levelName?: string | null;
  fullAreaName?: string | null;
  address?: string | null;
  contactName?: string | null;
  contactNumber?: string | null;
  businessLicense?: string | null;
  medicalCertificates?: string[] | null;
  inviterCode?: string | null;
  inviterName?: string | null;
  inviterMerchantName?: string | null;
  adminAccount?: string | null;
  state?: KunlunDomainEntitiesEntryApplicationState;
  stateName?: string | null;
  creatorName?: string | null;
  /** @format date-time */
  submitTime?: string | null;
  approverName?: string | null;
  /** @format date-time */
  approvalTime?: string | null;
  rejectReason?: string | null;
  merchantId?: string | null;
}

export interface KunlunModelsEntryApplicationModel {
  /** @format uuid */
  id?: string;
  merchantName?: string | null;
  levelName?: string | null;
  fullAreaName?: string | null;
  address?: string | null;
  contactName?: string | null;
  contactNumber?: string | null;
  /** 申请人 */
  creatorName?: string | null;
  /**
   * 提交时间
   * @format date-time
   */
  submitTime?: string | null;
  state?: KunlunDomainEntitiesEntryApplicationState;
  stateName?: string | null;
  approverName?: string | null;
  /** @format date-time */
  approvalTime?: string | null;
}

export interface KunlunModelsExpressCompanyModel {
  id?: string | null;
  name?: string | null;
}

export interface KunlunModelsFudanDepartmentListItem {
  /** @format int32 */
  id?: number;
  name?: string | null;
  icon?: string | null;
  /** �Ƿ�ٷ� */
  isOfficial?: boolean;
  isFirst?: boolean;
  isLast?: boolean;
}

export interface KunlunModelsGenerateCouponPackageCardsRequest {
  prefix?: string | null;
  /** @format int32 */
  length?: number;
  /** @format int32 */
  count?: number;
  /**
   * 运营商
   * @format int64
   */
  merchantId?: number;
  type?: KunlunDomainEntitiesCouponPackageCardType;
  /**
   * 套餐Id
   * @format int64
   */
  packageId?: number;
  /** 需要跳过的数字(用,分隔) */
  skipNumbers?: string | null;
}

export interface KunlunModelsGeocoderRequest {
  /** @format double */
  lat?: number;
  /** @format double */
  lng?: number;
  /** 是否获取周边地址 */
  getPoi?: boolean;
  /**
   * 半径
   * @format int32
   */
  radius?: number;
  /**
   * 每页数量
   * @format int32
   */
  pageSize?: number;
  /**
   * 页码
   * @format int32
   */
  pageIndex?: number;
}

export interface KunlunModelsGetAreasResponse {
  provinceList?: Record<string, string | null>;
  cityList?: Record<string, string | null>;
  countyList?: Record<string, string | null>;
}

export interface KunlunModelsGetCouponPackagePromotionPolicyRequest {
  /** @format int64 */
  couponPackageId?: number;
}

export interface KunlunModelsGiveCouponPackageCardRequest {
  /** @format int64 */
  merchantId?: number;
  cardIds?: number[] | null;
}

export interface KunlunModelsGlobalSettingsModel {
  gzhAppId?: string | null;
}

export interface KunlunModelsHealthCheckDeviceListItem {
  id?: string | null;
  name?: string | null;
  number?: string | null;
  /** @format int64 */
  agentId?: number | null;
  agentName?: string | null;
  /** @format int64 */
  institutionId?: number | null;
  institutionName?: string | null;
  /** @format int64 */
  promoterId?: number | null;
  promoterName?: string | null;
  isEnabled?: boolean;
}

export interface KunlunModelsHealthCheckReportListItem {
  /** @format uuid */
  id?: string;
  name?: string | null;
  deviceId?: string | null;
  deviceNumber?: string | null;
  deviceName?: string | null;
  mobile?: string | null;
  /**
   * 报告时间
   * @format date-time
   */
  reportTime?: string;
  /**
   * 同步时间
   * @format date-time
   */
  syncTime?: string;
  /** 报告地址 */
  resourceUrl?: string | null;
  organizationName?: string | null;
  /** @format double */
  score?: number | null;
  /** @format int32 */
  level?: number | null;
}

export interface KunlunModelsHomePageProductSectionListItem {
  /** @format uuid */
  id?: string;
  title: string | null;
  couponId: string | null;
  couponName: string | null;
  typeName?: string | null;
  typeNames?: string[] | null;
  remark?: string | null;
  isEnabled?: boolean;
  /** @format date-time */
  creationTime?: string;
  creatorName: string | null;
  /** @format date-time */
  lastModificationTime?: string | null;
  lastModifierName?: string | null;
  /** @format int32 */
  sort?: number;
  isFirst?: boolean;
  isLast?: boolean;
}

export interface KunlunModelsIndustryModel {
  /** @format int32 */
  id?: number;
  name?: string | null;
  /** @format int32 */
  parentId?: number | null;
  childs?: KunlunModelsIndustryModel[] | null;
}

export interface KunlunModelsInventoryListItem {
  productId?: string | null;
  skuId?: string | null;
  name?: string | null;
  picture?: string | null;
  spec?: string | null;
  categoryName?: string | null;
  /** @format int32 */
  year?: number;
  stockroomName?: string | null;
  /** @format int32 */
  qty?: number;
}

export interface KunlunModelsInventoryListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  /** @format int32 */
  categoryId?: number | null;
}

export interface KunlunModelsLocationSearchRequest {
  /**
   * 每页数量
   * @format int32
   */
  pageSize?: number;
  /**
   * 页码
   * @format int32
   */
  pageIndex?: number;
  /** 搜索关键字 */
  keyword?: string | null;
  /** 城市名称(作为搜索范围使用) */
  cityName?: string | null;
}

export interface KunlunModelsLocationSuggestionRequest {
  /** @minLength 1 */
  keyword: string;
  cityName?: string | null;
  location?: KunlunInfrastructureModelsLatLngModel;
}

export interface KunlunModelsMallOrderDetailResponse {
  id?: string | null;
  userName?: string | null;
  memberName?: string | null;
  memberLevel?: KunlunDomainMemberLevels;
  memberLevelName?: string | null;
  memberMobile?: string | null;
  merchantName?: string | null;
  detail?: any;
  /** @format date-time */
  orderTime?: string;
  /** @format date-time */
  creationTime?: string;
  /** @format date-time */
  finishTime?: string | null;
  /** @format double */
  amount?: number;
  /** @format double */
  actualAmount?: number;
  /**
   * 订单主状态
   * 正常流程：待支付->已支付->具体业务状态->已完成->已退款
   * 取消流程：待支付->已关闭
   */
  state?: KunlunDomainEntitiesOrderStates;
  stateName?: string | null;
  businessState?: KunlunDomainEntitiesMallOrderState;
  businessStateName?: string | null;
  address?: KunlunModelsMallOrderDetailResponseDeliveryAddress;
  items?: KunlunModelsMallOrderDetailResponseOrderItemModel[] | null;
  delivery?: KunlunModelsMallOrderDetailResponseOrderDeliveryModel;
  /** 付款明细 */
  payments?: Record<string, number>;
}

export interface KunlunModelsMallOrderDetailResponseDeliveryAddress {
  name?: string | null;
  mobile?: string | null;
  fullAreaName?: string | null;
  address?: string | null;
}

export interface KunlunModelsMallOrderDetailResponseOrderDeliveryModel {
  /** @format date-time */
  deliveryTime?: string;
  expressCompanyId?: string | null;
  expressCompanyName?: string | null;
  trackingNumber?: string | null;
  /** @format double */
  postage?: number | null;
  expressListPicture?: string[] | null;
  /** @format date-time */
  arrivalTime?: string | null;
}

export interface KunlunModelsMallOrderDetailResponseOrderItemModel {
  goodsName?: string | null;
  picture?: string | null;
  /** @format double */
  price?: number;
  /** @format int32 */
  qty?: number;
  /** @format double */
  amount?: number;
}

export interface KunlunModelsMallOrderListItem {
  id?: string | null;
  userName?: string | null;
  userAccount?: string | null;
  merchantName?: string | null;
  detail?: any;
  /** @format date-time */
  orderTime?: string;
  /** @format double */
  price?: number | null;
  /** @format double */
  amount?: number;
  /** @format double */
  actualAmount?: number;
  address?: string | null;
  expressCompanyName?: string | null;
  trackingNumber?: string | null;
  /**
   * 订单主状态
   * 正常流程：待支付->已支付->具体业务状态->已完成->已退款
   * 取消流程：待支付->已关闭
   */
  state?: KunlunDomainEntitiesOrderStates;
  stateName?: string | null;
  businessState?: KunlunDomainEntitiesMallOrderState;
  businessStateName?: string | null;
  /** 付款明细 */
  payments?: Record<string, number>;
}

export interface KunlunModelsMallOrderListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  /**
   * 订单主状态
   * 正常流程：待支付->已支付->具体业务状态->已完成->已退款
   * 取消流程：待支付->已关闭
   */
  state?: KunlunDomainEntitiesOrderStates;
}

export interface KunlunModelsMedicalQualificationModel {
  type?: string | null;
  /** @minLength 1 */
  certificateNo: string;
  /** @minLength 1 */
  organizationName: string;
  /** @minLength 1 */
  legalPerson: string;
  /** @format date */
  expirationDate?: string | null;
  files?: KunlunDomainEntitiesQualificationFile[] | null;
}

export interface KunlunModelsMemberAddressListItem {
  /** @format uuid */
  id?: string;
  userName?: string | null;
  memberName?: string | null;
  memberMobile?: string | null;
  merchantName?: string | null;
  /** 收货人 */
  name?: string | null;
  /** 手机号码 */
  mobile?: string | null;
  /** 省 */
  provinceName?: string | null;
  /** 市 */
  cityName?: string | null;
  /** 区 */
  countyName?: string | null;
  /** 省市区 */
  fullAreaName?: string | null;
  /** 收货地址 */
  address?: string | null;
  /** 是否默认地址 */
  isDefault?: boolean;
}

export interface KunlunModelsMemberAddressListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  memberName?: string | null;
  merchantName?: string | null;
  /** 省市区 */
  area?: KunlunDomainModelsAreaModel;
}

export interface KunlunModelsMemberAssetListItem {
  id?: string | null;
  fullAreaName?: string | null;
  merchantName?: string | null;
  name?: string | null;
  levelName?: string | null;
  mobile?: string | null;
  /** @format double */
  balance?: number;
  /** @format int32 */
  coupons?: number;
}

export interface KunlunModelsMemberAssetListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  /** 省市区 */
  area?: KunlunDomainModelsAreaModel;
  merchantName?: string | null;
  level?: KunlunDomainMemberLevels;
  name?: string | null;
  mobile?: string | null;
}

export interface KunlunModelsMemberAssetListResponse {
  list?: KunlunModelsMemberAssetListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface KunlunModelsMemberAssetSummaryResponse {
  /**
   * 本月充值金额
   * @format double
   */
  thisMonthDeposited?: number;
  /**
   * 本月付款金额
   * @format double
   */
  thisMonthPaid?: number;
  /**
   * 本月余额
   * @format double
   */
  thisMonthBalance?: number;
  /**
   * 总余额
   * @format double
   */
  totalBalance?: number;
  /**
   * 充值总金额
   * @format double
   */
  totalDeposited?: number;
}

export interface KunlunModelsMemberBasicInfoResponse {
  id?: string | null;
  name?: string | null;
}

export interface KunlunModelsMemberBillListItem {
  /** @format uuid */
  id?: string;
  memberName?: string | null;
  memberMobile?: string | null;
  type?: KunlunDomainMemberBillType;
  typeName?: string | null;
  /** @format double */
  amount?: number;
  /** @format double */
  couponAmount?: number;
  /** @format double */
  balance?: number;
  /** @format date-time */
  creationTime?: string;
  orderId?: string | null;
  orderType?: KunlunDomainOrderTypes;
  /** @format double */
  orderActualAmount?: number | null;
}

export interface KunlunModelsMemberBillListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  /** @format int64 */
  memberId?: number | null;
  type?: KunlunDomainMemberBillType;
  /** @format date-time */
  beginDate?: string | null;
  /** @format date-time */
  endDate?: string | null;
}

export interface KunlunModelsMemberBillListResponse {
  list?: KunlunModelsMemberBillListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface KunlunModelsMemberDetailResponse {
  id?: string | null;
  name?: string | null;
  mobile?: string | null;
  /** 省市区 */
  area?: KunlunDomainModelsAreaModel;
  /** 省市区 */
  area2?: KunlunDomainModelsAreaModel;
  /** 省市区 */
  area3?: KunlunDomainModelsAreaModel;
  /** 省市区 */
  nativePlace?: KunlunDomainModelsAreaModel;
  levelName?: string | null;
  merchantId?: string | null;
  merchantName?: string | null;
  company?: string | null;
  position?: string | null;
  address?: string | null;
  industry?: number[] | null;
  isEnabled?: boolean;
  firstName?: string | null;
  lastName?: string | null;
  gender?: KunlunDomainGender;
  /** 兴趣爱好 */
  interest?: string | null;
  /** 客户人群 */
  customerGroups?: string | null;
  /** 公司产品 */
  companyProducts?: string | null;
  /** 提供的服务 */
  servicesProvided?: string | null;
}

export interface KunlunModelsMemberLevelDetailResponse {
  /** @format int32 */
  id?: number;
  name?: string | null;
  value?: KunlunDomainMemberLevels;
  /**
   * 最大健康档案数
   * @format int32
   */
  maxPatients?: number;
  /**
   * 月度服务项目数
   * @format int32
   */
  maxServicesPerMonth?: number;
  /**
   * 年度服务项目数
   * @format int32
   */
  maxServicesPerYear?: number;
  picture?: string | null;
  instruction?: string | null;
  remark?: string | null;
}

export interface KunlunModelsMemberLevelListItem {
  /** @format int32 */
  id?: number;
  name?: string | null;
  value?: KunlunDomainMemberLevels;
  /**
   * 最大健康档案数
   * @format int32
   */
  maxPatients?: number;
  /**
   * 月度服务项目数
   * @format int32
   */
  maxServicesPerMonth?: number;
  /**
   * 年度服务项目数
   * @format int32
   */
  maxServicesPerYear?: number;
  picture?: string | null;
  remark?: string | null;
  isDefault?: boolean;
}

export interface KunlunModelsMemberLevelUpgradeRewardSettingListItem {
  /** @format int32 */
  id?: number;
  couponId?: string | null;
  /** @format int32 */
  qty?: number;
  remark?: string | null;
  couponName?: string | null;
  couponType?: KunlunDomainCouponTypes;
  couponTypeName?: string | null;
}

export interface KunlunModelsMemberLevelUpgradeRewardSettingListRequest {
  /** @format int32 */
  levelId?: number;
}

export interface KunlunModelsMemberListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  level?: KunlunDomainMemberLevels;
  isPromoter?: boolean | null;
  promoterType?: KunlunDomainPromoterTypes;
  nativePlace?: KunlunDomainModelsNullableAreaModel;
  area?: KunlunDomainModelsNullableAreaModel;
  /** @format int64 */
  merchantId?: number | null;
  merchantName?: string | null;
  registrationDate?: KunlunInfrastructureModelsDateRange;
  inviter?: string | null;
  promoter?: string | null;
  /** 推广主管 */
  promoterDirector?: string | null;
}

export interface KunlunModelsMemberListResponse {
  /** @format int64 */
  id?: number;
  avatar?: string | null;
  userName?: string | null;
  name?: string | null;
  inviterName?: string | null;
  promoterId?: string | null;
  promoterName?: string | null;
  merchantAdminName?: string | null;
  fullAreaName?: string | null;
  fullAreaName2?: string | null;
  fullAreaName3?: string | null;
  levelName?: string | null;
  merchantName?: string | null;
  company?: string | null;
  position?: string | null;
  /** @format date-time */
  expirationTime?: string | null;
  address?: string | null;
  industry?: string | null;
  industryNames?: string | null;
  isEnabled?: boolean;
  mobile?: string | null;
  firstName?: string | null;
  lastName?: string | null;
  gender?: KunlunDomainGender;
  /** @format date-time */
  registrationTime?: string;
  registrationAreaName?: string | null;
  /** 注册方式 */
  registrationWay?: KunlunDomainRegistrationWays;
  registrationWayName?: string | null;
  isPromoter?: boolean;
  promoterType?: KunlunDomainPromoterTypes;
  promoterTypeName?: string | null;
}

export interface KunlunModelsMenuFeatureRequest {
  /** @format int32 */
  adminMenuId?: number;
  featureIds?: number[] | null;
}

export interface KunlunModelsMenuItemModel {
  key?: string | null;
  name?: string | null;
  text?: string | null;
  title?: string | null;
  link?: string | null;
  path?: string | null;
  /** @format int32 */
  level?: number;
  isLeaf?: boolean;
  checked?: boolean;
  icon?: string | null;
  meta?: KunlunModelsMenuItemModelMetaModel;
  children?: KunlunModelsMenuItemModel[] | null;
  disabled?: boolean;
}

export interface KunlunModelsMenuItemModelMetaModel {
  icon?: string | null;
}

export interface KunlunModelsMerchantAdminDetailResponse {
  id?: string | null;
  account?: string | null;
  name?: string | null;
  role?: KunlunInfrastructureAuthMerchantAdminRoles;
  parentPromoterId?: string | null;
  isEnabled?: boolean;
}

export interface KunlunModelsMerchantAdminListRequest {
  /** @format int64 */
  merchantId?: number;
}

export interface KunlunModelsMerchantAdminListResponse {
  id?: string | null;
  account?: string | null;
  name?: string | null;
  roleName?: string | null;
  parentPromoterName?: string | null;
  settlementCode?: string | null;
  isEnabled?: boolean;
  /** @format date-time */
  creationTime?: string;
  creatorName?: string | null;
  code?: string | null;
}

export interface KunlunModelsMerchantAdvantageListItem {
  merchantId?: string | null;
  /** @format int32 */
  fudanDepartmentId?: number;
  fudanDepartmentName?: string | null;
  /**
   * 复旦全国排名
   * @format int32
   */
  fudanNationwideRank?: number | null;
  /**
   * 复旦排行榜专科平均声誉值
   * @format double
   */
  fudanReputationAverage?: number | null;
  /**
   * 复旦排行榜声誉权重
   * @format double
   */
  fudanReputationScore?: number | null;
  /**
   * 复旦排行榜科研权重
   * @format double
   */
  fudanScientificScore?: number | null;
  /**
   * 复旦排行榜总得分
   * @format double
   */
  fudanTotalScore?: number | null;
  /**
   * 复旦地区
   * @format int32
   */
  fudanArea?: number | null;
  /**
   * 复旦地区排名
   * @format int32
   */
  fudanAreaRankNumber?: number | null;
}

export interface KunlunModelsMerchantAdvantageListRequest {
  /** @format int64 */
  merchantId?: number;
}

export interface KunlunModelsMerchantAssetListItem {
  id?: string | null;
  fullAreaName?: string | null;
  name?: string | null;
  agentLevelName?: string | null;
  /** @format double */
  balance?: number;
  /** @format int32 */
  coupons?: number;
}

export interface KunlunModelsMerchantAssetListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  /** 省市区 */
  area?: KunlunDomainModelsAreaModel;
  agentLevel?: KunlunDomainAgentLevels;
  name?: string | null;
}

export interface KunlunModelsMerchantAssetListResponse {
  list?: KunlunModelsMerchantAssetListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface KunlunModelsMerchantAssetSummaryResponse {
  /** @format double */
  thisMonthReceipted?: number;
  /** @format double */
  thisMonthPaid?: number;
  /** @format double */
  thisMonthWithdrawal?: number;
  /** @format double */
  thisMonthBalance?: number;
  /** @format double */
  totalReceipted?: number;
  /** @format double */
  totalPaid?: number;
  /** @format double */
  totalWithdrawal?: number;
  /** @format double */
  totalBalance?: number;
}

export interface KunlunModelsMerchantBasicInfoResponse {
  id?: string | null;
  name?: string | null;
}

export interface KunlunModelsMerchantBillListItem {
  /** @format uuid */
  id?: string;
  merchantName?: string | null;
  type?: KunlunDomainMerchantBillType;
  typeName?: string | null;
  /** @format double */
  amount?: number;
  /** @format double */
  couponAmount?: number;
  /** @format double */
  balance?: number;
  /** @format date-time */
  creationTime?: string;
  orderId?: string | null;
  orderType?: KunlunDomainOrderTypes;
  /** @format double */
  orderActualAmount?: number | null;
}

export interface KunlunModelsMerchantBillListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  /** @format int64 */
  merchantId?: number | null;
  type?: KunlunDomainMerchantBillType;
  /** @format date-time */
  beginDate?: string | null;
  /** @format date-time */
  endDate?: string | null;
}

export interface KunlunModelsMerchantBillListResponse {
  list?: KunlunModelsMerchantBillListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface KunlunModelsMerchantChildDepartmentListRequest {
  /** @format int64 */
  merchantId?: number;
}

export interface KunlunModelsMerchantDepartmentCascadeItem {
  id?: string | null;
  name?: string | null;
  children?: KunlunModelsMerchantDepartmentCascadeItem[] | null;
}

export interface KunlunModelsMerchantDepartmentCascadeListRequest {
  /** @format int64 */
  merchantId?: number;
}

export interface KunlunModelsMerchantDepartmentListItem {
  id?: string | null;
  merchantId?: string | null;
  name?: string | null;
  parentId?: string | null;
  parentName?: string | null;
  /** @format int32 */
  commonDepartmentId?: number | null;
  commonDepartmentName?: string | null;
  /** @format int32 */
  fudanDepartmentId?: number | null;
  fudanDepartmentName?: string | null;
  /**
   * 复旦全国专科排名
   * @format int32
   */
  fudanNationwideRank?: number | null;
  fudanNationwideRankName?: string | null;
  /**
   * 复旦排行榜声誉权重
   * @format double
   */
  fudanReputationScore?: number | null;
  /**
   * 复旦排行榜科研权重
   * @format double
   */
  fudanScientificScore?: number | null;
  /**
   * 复旦排行榜总得分
   * @format double
   */
  fudanTotalScore?: number | null;
  fudanAreaRank?: KunlunDomainModelsNullableAreaRank;
  fudanAreaRankName?: string | null;
  /** 是否区域重点专科 */
  isKey?: boolean | null;
  /** 简介 */
  introduction?: string | null;
  isEnabled?: boolean;
  isFirst?: boolean;
  isLast?: boolean;
}

export interface KunlunModelsMerchantDepartmentListRequest {
  /** @format int64 */
  merchantId?: number;
  /** @format int64 */
  parentId?: number | null;
}

export interface KunlunModelsMerchantDetailResponse {
  id?: string | null;
  name?: string | null;
  industry?: number[] | null;
  /** 省市区 */
  area?: KunlunDomainModelsAreaModel;
  category?: KunlunDomainMerchantCategory;
  institutionType?: KunlunDomainInstitutionType;
  /** @format int32 */
  institutionLevel?: number | null;
  /** 服务商类型 */
  providerType?: number[] | null;
  agentLevel?: KunlunDomainAgentLevels;
  storeType?: KunlunDomainStoreType;
  /** @format float */
  acreage?: number | null;
  contactName?: string | null;
  contactNumber?: string | null;
  platformNumber?: string | null;
  /** @format int32 */
  rooms?: number | null;
  /** @format int32 */
  doctors?: number | null;
  address?: string | null;
  /** @format double */
  lat?: number | null;
  /** @format double */
  lng?: number | null;
  washroom?: boolean | null;
  parkingLot?: boolean | null;
  /** @format int32 */
  floors?: number | null;
  /** @format date */
  openTime?: string | null;
  /** @format time */
  businessTimeBegin?: string | null;
  /** @format time */
  businessTimeEnd?: string | null;
  restDays?: string | null;
  number?: string | null;
  remark?: string | null;
  introduction?: string | null;
  state?: KunlunDomainMerchantStates;
  stateName?: string | null;
  belongsTo?: string | null;
  parkingLotFees?: string | null;
  roomFees?: string | null;
  entryState?: KunlunDomainEntitiesMerchantEntryState;
  entryStateName?: string | null;
  parentId?: string | null;
  parentName?: string | null;
  /**
   * 复旦全国排名
   * @format int32
   */
  fudanNationwideRank?: number | null;
  /**
   * 复旦排行榜声誉权重
   * @format double
   */
  fudanReputationScore?: number | null;
  /**
   * 复旦排行榜科研权重
   * @format double
   */
  fudanScientificScore?: number | null;
  /**
   * 复旦排行榜总得分
   * @format double
   */
  fudanTotalScore?: number | null;
  fudanAreaRank?: KunlunDomainModelsNullableAreaRank;
  /**
   * 复旦区域排行榜声誉权重
   * @format double
   */
  fudanAreaReputationScore?: number | null;
  /**
   * 复旦区域排行榜科研权重
   * @format double
   */
  fudanAreaScientificScore?: number | null;
  /**
   * 复旦区域排行榜总得分
   * @format double
   */
  fudanAreaTotalScore?: number | null;
  /**
   * 中医全国排名
   * @format int32
   */
  tcmNationwideRank?: number | null;
  sharePosters?: KunlunDomainModelsSharePoster[] | null;
  galleries?: KunlunModelsMerchantGalleryModel[] | null;
}

export interface KunlunModelsMerchantGalleryListRequest {
  /** @format int64 */
  merchantId?: number;
}

export interface KunlunModelsMerchantGalleryModel {
  /** @format int32 */
  id?: number;
  resourceUrl?: string | null;
  description?: string | null;
}

export interface KunlunModelsMerchantListItem {
  /** @format int64 */
  id?: number;
  name?: string | null;
  province?: string | null;
  city?: string | null;
  county?: string | null;
  fullAreaName?: string | null;
  category?: KunlunDomainMerchantCategory;
  categoryName?: string | null;
  institutionType?: KunlunDomainInstitutionType;
  /** 服务商类型 */
  providerTypeNames?: string | null;
  levelName?: string | null;
  storeType?: KunlunDomainStoreType;
  storeTypeName?: string | null;
  /** @format float */
  acreage?: number | null;
  contactName?: string | null;
  address?: string | null;
  washroom?: boolean | null;
  parkingLot?: boolean | null;
  number?: string | null;
  state?: KunlunDomainMerchantStates;
  stateName?: string | null;
  /** @format int32 */
  rooms?: number | null;
  /** @format int32 */
  doctors?: number | null;
  /** @format int32 */
  merchantGalleryCount?: number;
  belongsTo?: string | null;
  entryState?: KunlunDomainEntitiesMerchantEntryState;
  entryStateName?: string | null;
  parentId?: string | null;
  parentName?: string | null;
}

export interface KunlunModelsMerchantListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  /** 省市区 */
  area?: KunlunDomainModelsAreaModel;
  state?: KunlunDomainMerchantStates;
  category?: KunlunDomainMerchantCategory;
  institutionType?: KunlunDomainInstitutionType;
  /**
   * 医院等级
   * @format int32
   */
  institutionLevel?: number | null;
  /**
   * 服务商类型
   * @format int32
   */
  providerType?: number | null;
  agentLevel?: KunlunDomainAgentLevels;
  name?: string | null;
  belongsTo?: string | null;
  parentName?: string | null;
  number?: string | null;
}

export interface KunlunModelsMerchantListResponse {
  list?: KunlunModelsMerchantListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface KunlunModelsMerchantMemberGiftListItem {
  /** @format int32 */
  id?: number;
  merchantId?: string | null;
  merchantName?: string | null;
  memberId?: string | null;
  memberName?: string | null;
  memberMobile?: string | null;
  levelName?: string | null;
  /** @format date-time */
  time?: string;
  packageName?: string | null;
}

export interface KunlunModelsMerchantMemberGiftListRequest {
  /** @format int64 */
  merchantId?: number;
  memberLevel?: KunlunDomainMemberLevels;
}

export interface KunlunModelsMerchantMemberGiftSettingListItem {
  memberLevel?: KunlunDomainMemberLevels;
  /** @format int32 */
  totalQty?: number;
  /** @format int32 */
  sentQty?: number;
  /** @format int32 */
  restQty?: number;
}

export interface KunlunModelsMerchantMemberGiftSettingListRequest {
  /** @format int64 */
  merchantId?: number;
}

export interface KunlunModelsMerchantOperationFeeListItem {
  /** @format int32 */
  operationFeeId?: number;
  name?: string | null;
  /** @format double */
  price?: number;
  unitName?: string | null;
  isEnabled?: boolean;
}

export interface KunlunModelsMerchantOperationFeeListRequest {
  /** @format int64 */
  merchantId?: number;
}

export interface KunlunModelsMerchantPartnerAreaListItem {
  /** @format int32 */
  id?: number;
  province?: string | null;
  city?: string | null;
  areaName?: string | null;
  /** @format date-time */
  creationTime?: string;
  creatorName?: string | null;
}

export interface KunlunModelsMerchantPartnerAreaListRequest {
  /** @format int64 */
  merchantId?: number;
}

export interface KunlunModelsMerchantPolicyListItem {
  merchantName?: string | null;
  institutionLevelName?: string | null;
  parentMerchantName?: string | null;
  /** @format double */
  balancePercent?: number;
}

export interface KunlunModelsMerchantPolicyListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  /** @format int32 */
  policyId?: number;
}

export interface KunlunModelsMerchantProductListItem {
  productId?: string | null;
  /** 产品名称 */
  productName?: string | null;
  productSkuId?: string | null;
  /** 规格 */
  spec?: string | null;
  price?: KunlunDomainModelsPriceModel;
  typeName?: string | null;
  categoryName?: string | null;
  categoryNames?: string[] | null;
  departmentIds?: string[] | null;
  departmentNames?: string[] | null;
  doctorIds?: string[] | null;
  doctorNames?: string[] | null;
  doctors?:
    | KunlunInfrastructureModelsIdNameModel1SystemStringSystemPrivateCoreLibVersion9000CultureNeutralPublicKeyToken7Cec85D7Bea7798E[]
    | null;
  isOnline?: boolean;
  isFirst?: boolean;
  isLast?: boolean;
  /** @format int32 */
  sort?: number;
}

export interface KunlunModelsMerchantProductListRequest {
  /** @format int64 */
  merchantId?: number;
}

export interface KunlunModelsMerchantPurchasePolicyListItem {
  merchantName?: string | null;
  merchantTypeName?: string | null;
  parentMerchantName?: string | null;
  /** @format double */
  discount?: number;
}

export interface KunlunModelsMerchantPurchasePolicyListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  /** @format int32 */
  policyId?: number;
}

export interface KunlunModelsMerchantRelationListItem {
  typeName?: string | null;
  merchantId?: string | null;
  merchantName?: string | null;
  level?: KunlunDomainAgentLevels;
  levelName?: string | null;
}

export interface KunlunModelsMerchantRelationListRequest {
  /** @format int64 */
  merchantId?: number;
}

export interface KunlunModelsMoveArticleNavigationRequest {
  /** @format int32 */
  id?: number;
  direction?: KunlunDomainMoveDirection;
}

export interface KunlunModelsMoveAttributeRequest {
  /** @format int32 */
  id?: number;
  direction?: KunlunDomainMoveDirection;
}

export interface KunlunModelsMoveAttributeValueRequest {
  /** @format int32 */
  id?: number;
  direction?: KunlunDomainMoveDirection;
}

export interface KunlunModelsMoveBannerRequest {
  /** @format int32 */
  id?: number;
  direction?: KunlunDomainMoveDirection;
}

export interface KunlunModelsMoveCommonDepartmentRequest {
  /** @format int32 */
  id?: number;
  direction?: KunlunDomainMoveDirection;
}

export interface KunlunModelsMoveFudanDepartmentRequest {
  /** @format int32 */
  id?: number;
  direction?: KunlunDomainMoveDirection;
}

export interface KunlunModelsMoveHomePageProductSectionRequest {
  /** @format uuid */
  id?: string;
  direction?: KunlunDomainMoveDirection;
}

export interface KunlunModelsMoveMerchantDeparmentRequest {
  /** @format int64 */
  id?: number;
  direction?: KunlunDomainMoveDirection;
}

export interface KunlunModelsMoveMerchantProductRequest {
  /** @format int64 */
  merchantId?: number;
  /** @format int64 */
  productId?: number;
  /** @format int64 */
  productSkuId?: number;
  direction?: KunlunDomainMoveDirection;
}

export interface KunlunModelsMoveNavigationRequest {
  /** @format int32 */
  id?: number;
  direction?: KunlunDomainMoveDirection;
}

export interface KunlunModelsMoveProductSkuRequest {
  /** @format int64 */
  id?: number;
  direction?: KunlunDomainMoveDirection;
}

export interface KunlunModelsMoveSharingMaterialRequest {
  /** @format uuid */
  id?: string;
  direction?: KunlunDomainMoveDirection;
}

export interface KunlunModelsMoveUserMenuRequest {
  /** @format int32 */
  id?: number;
  direction?: KunlunDomainMoveDirection;
}

export interface KunlunModelsMoveUserMenuSectionRequest {
  /** @format int32 */
  id?: number;
  direction?: KunlunDomainMoveDirection;
}

export interface KunlunModelsMoveWidgetContentAreaRequest {
  /** @format uuid */
  id?: string;
  direction?: KunlunDomainMoveDirection;
}

export interface KunlunModelsMoveWidgetItemRequest {
  /** @format uuid */
  id?: string;
  direction?: KunlunDomainMoveDirection;
}

export interface KunlunModelsMoveWidgetRequest {
  /** @format uuid */
  id?: string;
  direction?: KunlunDomainMoveDirection;
}

export interface KunlunModelsNavigationListItem {
  /** @format int32 */
  id?: number;
  section?: KunlunDomainEntitiesNavigationSection;
  /** @format int32 */
  level?: number;
  name?: string | null;
  icon?: string | null;
  /** @format int32 */
  sort?: number;
  /** 是否在首页显示 */
  showInHomePage?: boolean;
  /** @format int32 */
  childrenCount?: number;
  jumpType?: KunlunDomainEntitiesNavigationJumpType;
  jumpParameters?: KunlunDomainEntitiesNavigationJumpParameterModel[] | null;
  jumpParameterText?: string | null;
  isEnabled?: boolean;
  isFirst?: boolean;
  isLast?: boolean;
  /** @format date-time */
  creationTime?: string;
}

export interface KunlunModelsNavigationListRequest {
  searchText?: string | null;
  /** @format int32 */
  parentId?: number | null;
  section?: KunlunDomainEntitiesNavigationSection;
}

export interface KunlunModelsOperationFeeMemberRewardSettingListItem {
  /** @format int32 */
  id?: number;
  parentLevel?: KunlunDomainEntitiesMemberRewardSettingLevels;
  parentLevelName?: string | null;
  ancestorLevel?: KunlunDomainEntitiesMemberRewardSettingLevels;
  ancestorLevelName?: string | null;
  ancestorOfAncestorLevel?: KunlunDomainEntitiesMemberRewardSettingLevels;
  ancestorOfAncestorLevelName?: string | null;
  target?: KunlunDomainEntitiesMemberRewardTargets;
  targetName?: string | null;
  /** 优惠券Id */
  couponId?: string | null;
  couponName?: string | null;
  /**
   * 优惠券面额
   * @format double
   */
  couponAmount?: number | null;
  couponType?: KunlunDomainCouponTypes;
  couponTypeName?: string | null;
  /** @format int32 */
  couponQty?: number | null;
  /**
   * 支付金额比例
   * @format double
   */
  amountPercent?: number | null;
  remark?: string | null;
}

export interface KunlunModelsOperationFeeMemberRewardSettingListRequest {
  /** @format int32 */
  operationFeeId?: number;
}

export interface KunlunModelsOperationFeeModel {
  /** @format int32 */
  id?: number;
  /** @minLength 1 */
  name: string;
  /** @format double */
  price?: number;
  /** @format int32 */
  unit?: number;
  unitName?: string | null;
  /**
   * 平台分账金额
   * @format double
   */
  platformAmount?: number;
  /**
   * 操作机构分账金额
   * @format double
   */
  organizationAmount?: number;
  /**
   * 机构开发运营商分账总金额
   * @format double
   */
  organizationAgentTotalAmount?: number;
  /**
   * 客户开发运营商分账总金额
   * @format double
   */
  customerAgentTotalAmount?: number;
  /**
   * 会员推广分账总金额
   * @format double
   */
  memberTotalAmount?: number;
  customerAgentDivideSetting?: KunlunDomainEntitiesAgentDivideSetting;
  organizationAgentDivideSetting?: KunlunDomainEntitiesAgentDivideSetting;
}

export interface KunlunModelsOrderDetailResponse {
  /** @format int64 */
  id?: number;
  type?: KunlunDomainOrderTypes;
  typeName?: string | null;
  /** @format int64 */
  parentId?: number | null;
  userName?: string | null;
  memberName?: string | null;
  memberLevel?: KunlunDomainMemberLevels;
  memberLevelName?: string | null;
  memberMobile?: string | null;
  merchantName?: string | null;
  detail?: any;
  /** @format date-time */
  orderTime?: string;
  /** @format date-time */
  creationTime?: string;
  /** @format date-time */
  finishTime?: string | null;
  extras?: any;
  /** @format double */
  amount?: number;
  /** @format double */
  actualAmount?: number;
  /** @format double */
  preferentialAmount?: number;
  /**
   * 订单主状态
   * 正常流程：待支付->已支付->具体业务状态->已完成->已退款
   * 取消流程：待支付->已关闭
   */
  state?: KunlunDomainEntitiesOrderStates;
  stateName?: string | null;
  /** @format int32 */
  businessState?: number | null;
  businessStateName?: string | null;
  items?: KunlunModelsOrderDetailResponseOrderItemModel[] | null;
  /** 付款明细 */
  payments?: Record<string, number>;
}

export interface KunlunModelsOrderDetailResponseOrderItemModel {
  /** @format int64 */
  goodsId?: number;
  goodsName?: string | null;
  picture?: string | null;
  /** @format double */
  price?: number;
  /** @format int32 */
  qty?: number;
  /** @format double */
  amount?: number;
  /** @format double */
  actualAmount?: number;
  goodsDesc?: string | null;
  content?: any;
}

export interface KunlunModelsOrderListItem {
  /** @format int64 */
  id?: number;
  type?: KunlunDomainOrderTypes;
  typeName?: string | null;
  /** @format int64 */
  parentId?: number | null;
  userName?: string | null;
  userAccount?: string | null;
  merchantName?: string | null;
  detail?: any;
  /** @format date-time */
  orderTime?: string;
  /** @format double */
  amount?: number;
  /** @format double */
  actualAmount?: number;
  /**
   * 订单主状态
   * 正常流程：待支付->已支付->具体业务状态->已完成->已退款
   * 取消流程：待支付->已关闭
   */
  state?: KunlunDomainEntitiesOrderStates;
  stateName?: string | null;
  /** @format int32 */
  businessState?: number | null;
  businessStateName?: string | null;
  extras?: any;
  items?: KunlunModelsOrderListItemOrderItemModel[] | null;
  /** 付款明细 */
  payments?: Record<string, number>;
}

export interface KunlunModelsOrderListItemOrderItemModel {
  /** @format int64 */
  goodsId?: number;
  goodsName?: string | null;
  picture?: string | null;
  /** @format double */
  price?: number;
  /** @format int32 */
  qty?: number;
  /** @format double */
  amount?: number;
  /** @format double */
  actualAmount?: number;
  goodsDesc?: string | null;
  content?: any;
}

export interface KunlunModelsOrderListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  type?: KunlunDomainOrderTypes;
  /**
   * 订单主状态
   * 正常流程：待支付->已支付->具体业务状态->已完成->已退款
   * 取消流程：待支付->已关闭
   */
  state?: KunlunDomainEntitiesOrderStates;
}

export interface KunlunModelsOrderRefundApplicationListItem {
  /** @format uuid */
  id?: string;
  orderId?: string | null;
  orderType?: KunlunDomainOrderTypes;
  /** @format int64 */
  memberId?: number;
  memberName?: string | null;
  memberMobile?: string | null;
  userAvatar?: string | null;
  userName?: string | null;
  /** @format int64 */
  merchantId?: number;
  merchantName?: string | null;
  /** @format double */
  totalAmount?: number;
  /** @format double */
  actualAmount?: number;
  /**
   * 下单时间
   * @format date-time
   */
  orderTime?: string;
  /**
   * 订单主状态
   * 正常流程：待支付->已支付->具体业务状态->已完成->已退款
   * 取消流程：待支付->已关闭
   */
  orderState?: KunlunDomainEntitiesOrderStates;
  orderStateName?: string | null;
  /**
   * 申请时间
   * @format date-time
   */
  applicationTime?: string;
  /**
   * 审核时间
   * @format date-time
   */
  approvalTime?: string | null;
  /**
   * 退款时间
   * @format date-time
   */
  refundTime?: string | null;
  state?: KunlunDomainEntitiesOrderRefundApplicationState;
  stateName?: string | null;
  goods?: KunlunModelsOrderRefundApplicationListItemGoodsInfo[] | null;
}

export interface KunlunModelsOrderRefundApplicationListItemGoodsInfo {
  id?: string | null;
  name?: string | null;
  /** @format double */
  price?: number;
  /** @format int32 */
  qty?: number;
  /** @format double */
  actualAmount?: number;
}

export interface KunlunModelsOrderRefundApplicationListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
}

export interface KunlunModelsOrganizationAgentOperationFeeDivideSettingListItem {
  agentId?: string | null;
  agentName?: string | null;
  agentLevelName?: string | null;
  /** @format double */
  amount?: number | null;
}

export interface KunlunModelsOrganizationAgentOperationFeeDivideSettingListRequest {
  /** @format int64 */
  merchantId?: number;
  /** @format int32 */
  operationFeeId?: number;
}

export interface KunlunModelsPageListItem {
  /** @format uuid */
  id?: string;
  name?: string | null;
  code?: string | null;
  title?: string | null;
}

export interface KunlunModelsPassAccountApplicationRequest {
  /** @format int32 */
  id?: number;
  approvalRemark?: string | null;
}

export interface KunlunModelsPassOrderRefundRequest {
  /** @format uuid */
  id?: string;
  approvalRemark?: string | null;
}

export interface KunlunModelsPassWithdrawalRequest {
  /** @format int64 */
  id?: number;
  comment?: string | null;
}

export interface KunlunModelsPickupAddressDetailResponse {
  /** @format uuid */
  id?: string;
  name?: string | null;
  mobile?: string | null;
  /** 省市区 */
  area?: KunlunDomainModelsAreaModel;
  province?: string | null;
  provinceName?: string | null;
  city?: string | null;
  cityName?: string | null;
  county?: string | null;
  countyName?: string | null;
  address?: string | null;
  isDefault?: boolean;
}

export interface KunlunModelsPickupAddressListItem {
  /** @format uuid */
  id?: string;
  /** 收货人 */
  name?: string | null;
  /** 手机号码 */
  mobile?: string | null;
  /** 省 */
  provinceName?: string | null;
  /** 市 */
  cityName?: string | null;
  /** 区 */
  countyName?: string | null;
  /** 省市区 */
  fullAreaName?: string | null;
  /** 收货地址 */
  address?: string | null;
  /** 是否默认地址 */
  isDefault?: boolean;
}

export interface KunlunModelsPlatformAccountDetailResponse {
  /** @format int32 */
  id?: number;
  name?: string | null;
  idCardNumber?: string | null;
  bankId?: string | null;
  bankAccountNumber?: string | null;
  mobile?: string | null;
  email?: string | null;
  idCardFront?: string | null;
  idCardBack?: string | null;
  bankCardFront?: string | null;
  bankCardBack?: string | null;
  handIdCard?: string | null;
  handBankCard?: string | null;
  merchantNo?: string | null;
  remark?: string | null;
  /** @format date-time */
  creationTime?: string;
  isDefault?: boolean;
  isConfirmed?: boolean;
}

export interface KunlunModelsPlatformAccountListItem {
  /** @format int32 */
  id?: number;
  name?: string | null;
  isDefault?: boolean;
  /** @format date-time */
  creationTime?: string;
}

export interface KunlunModelsPlatformAccountListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
}

export interface KunlunModelsPlatformAssetSummaryResponse {
  /**
   * 本月商家收款抽成
   * @format double
   */
  thisMonthMerchantReceiptCommission?: number;
  /**
   * 本月商家提现
   * @format double
   */
  thisMonthMerchantWithdrawal?: number;
  /**
   * 本月商家付款
   * @format double
   */
  thisMonthMerchantPaid?: number;
  /**
   * 总金额
   * @format double
   */
  totalAmount?: number;
}

export interface KunlunModelsPlatformBillListItem {
  /** @format uuid */
  id?: string;
  platformName?: string | null;
  type?: KunlunDomainPlatformBillType;
  typeName?: string | null;
  /** @format double */
  amount?: number;
  /** @format double */
  balance?: number;
  /** @format date-time */
  creationTime?: string;
  orderId?: string | null;
  orderType?: KunlunDomainOrderTypes;
  /** @format double */
  orderActualAmount?: number | null;
}

export interface KunlunModelsPlatformBillListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  type?: KunlunDomainPlatformBillType;
  /** @format date-time */
  beginDate?: string | null;
  /** @format date-time */
  endDate?: string | null;
}

export interface KunlunModelsPlatformBillListResponse {
  list?: KunlunModelsPlatformBillListItem[] | null;
  /** @format int32 */
  total?: number;
}

export interface KunlunModelsPolicyDetailListItem {
  /** @format int32 */
  id?: number | null;
  /** @format int32 */
  institutionLevel?: number;
  institutionLevelName?: string | null;
  /** @format double */
  balancePercent?: number | null;
  remark?: string | null;
}

export interface KunlunModelsPolicyDetailListRequest {
  /** @format int32 */
  policyId?: number;
}

export interface KunlunModelsPolicyDetailResponse {
  /** @format int32 */
  id?: number;
  name?: string | null;
  remark?: string | null;
}

export interface KunlunModelsPolicyListItem {
  /** @format int32 */
  id?: number;
  name?: string | null;
  remark?: string | null;
}

export interface KunlunModelsPolicyListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
}

export interface KunlunModelsPositionListItem {
  /** @format int32 */
  id?: number;
  name?: string | null;
  remark?: string | null;
}

export interface KunlunModelsPositionListRequest {
  /** @format int64 */
  merchantId?: number | null;
}

export interface KunlunModelsProductAreaListItem {
  /** @format int32 */
  id?: number;
  productId?: string | null;
  /** 省市区 */
  area?: KunlunDomainModelsAreaModel;
  fullAreaName?: string | null;
  remark?: string | null;
}

export interface KunlunModelsProductAreaListRequest {
  /** @format int64 */
  productId?: number;
}

export interface KunlunModelsProductDetailResponse {
  id?: string | null;
  type?: KunlunDomainProductType;
  /** @format int32 */
  tag?: number;
  name?: string | null;
  picture?: string | null;
  galleries?: KunlunDomainEntitiesProductGalleryModel[] | null;
  sharePosters?: KunlunDomainModelsSharePoster[] | null;
  /** @format int32 */
  categoryId?: number;
  attributes?: Record<string, any>;
  description?: string | null;
  /** 预约须知 */
  appointmentInstruction?: string | null;
  isOnline?: boolean;
  /** @format int32 */
  policyId?: number | null;
  /** @format int32 */
  purchasePolicyId?: number | null;
  remark?: string | null;
  orderCollections?: KunlunDomainEntitiesProductOrderCollections;
  /** 告知书标题 */
  noticeTitle?: string | null;
  /** 告知书内容 */
  noticeContent?: string | null;
  hospitalProductType?: KunlunDomainEntitiesHospitalProductType;
  allowanceAcceleration?: KunlunDomainEntitiesAllowanceAccelerationSetting;
}

export interface KunlunModelsProductListItem {
  id?: string | null;
  /** 名称 */
  name?: string | null;
  type?: KunlunDomainProductType;
  typeName?: string | null;
  /** @format int32 */
  tag?: number;
  tagName?: string | null;
  /** 类别 */
  categoryName?: string | null;
  categoryNames?: string[] | null;
  /** 属性 */
  attributes?: Record<string, string | null>;
  /** 规格 */
  specs?: string[] | null;
  /** 规格信息 */
  specInfos?: KunlunModelsProductListItemSpecInfo[] | null;
  /** 是否上架 */
  isOnline?: boolean;
  /** 结算政策名称 */
  policyName?: string | null;
  /** 采购政策名称 */
  purchasePolicyName?: string | null;
}

export interface KunlunModelsProductListItemSpecInfo {
  id?: string | null;
  spec?: string | null;
  /** @format double */
  price?: number;
  /** @format double */
  listPrice?: number | null;
}

export interface KunlunModelsProductListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  isOnline?: boolean | null;
  type?: KunlunDomainProductType;
  /** @format int32 */
  categoryId?: number | null;
  policyName?: string | null;
  exceptedIds?: number[] | null;
}

export interface KunlunModelsProductOrderDetailResponse {
  id?: string | null;
  userName?: string | null;
  memberName?: string | null;
  memberLevel?: KunlunDomainMemberLevels;
  memberLevelName?: string | null;
  memberMobile?: string | null;
  /** 所属商家 */
  merchantName?: string | null;
  productName?: string | null;
  /** 机构 */
  institutionName?: string | null;
  departmentName?: string | null;
  doctorName?: string | null;
  patientName?: string | null;
  patientMobile?: string | null;
  /** @format date-time */
  orderTime?: string;
  /** @format date-time */
  creationTime?: string;
  /** @format date-time */
  paymentTime?: string | null;
  /** @format date-time */
  finishTime?: string | null;
  /** @format double */
  amount?: number;
  /** @format double */
  actualAmount?: number;
  /**
   * 订单主状态
   * 正常流程：待支付->已支付->具体业务状态->已完成->已退款
   * 取消流程：待支付->已关闭
   */
  state?: KunlunDomainEntitiesOrderStates;
  stateName?: string | null;
  businessState?: KunlunDomainEntitiesHospitalOrderState;
  businessStateName?: string | null;
  items?: KunlunModelsProductOrderDetailResponseOrderItemModel[] | null;
}

export interface KunlunModelsProductOrderDetailResponseOrderItemModel {
  /** @format int64 */
  goodsId?: number;
  goodsName?: string | null;
  picture?: string | null;
  /** @format double */
  price?: number;
  /** @format int32 */
  qty?: number;
  /** @format double */
  amount?: number;
  /** @format double */
  actualAmount?: number;
}

export interface KunlunModelsProductOrderListItem {
  id?: string | null;
  userName?: string | null;
  userAccount?: string | null;
  /** 所属商家 */
  merchantName?: string | null;
  productName?: string | null;
  /** 机构 */
  institutionName?: string | null;
  departmentName?: string | null;
  doctorName?: string | null;
  patientName?: string | null;
  patientMobile?: string | null;
  /** @format date-time */
  orderTime?: string;
  /** @format double */
  price?: number | null;
  /** @format double */
  amount?: number;
  /** @format double */
  actualAmount?: number;
  /**
   * 订单主状态
   * 正常流程：待支付->已支付->具体业务状态->已完成->已退款
   * 取消流程：待支付->已关闭
   */
  state?: KunlunDomainEntitiesOrderStates;
  stateName?: string | null;
  businessState?: KunlunDomainEntitiesHospitalOrderState;
  businessStateName?: string | null;
}

export interface KunlunModelsProductOrderListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  /**
   * 订单主状态
   * 正常流程：待支付->已支付->具体业务状态->已完成->已退款
   * 取消流程：待支付->已关闭
   */
  state?: KunlunDomainEntitiesOrderStates;
}

export interface KunlunModelsProductRevenueAllocationSchemeDetailResponse {
  /** @format int32 */
  id?: number;
  /** @minLength 1 */
  name: string;
  /** @format double */
  price?: number;
  coupon?: KunlunDomainModelsNullableCouponQty;
  /**
   * 平台分账金额
   * @format double
   */
  platformAmount?: number;
  /**
   * 机构分账金额
   * @format double
   */
  institutionAmount?: number;
  /**
   * 机构开发运营商分账总金额
   * @format double
   */
  institutionAgentTotalAmount?: number;
  /**
   * 客户开发运营商分账总金额
   * @format double
   */
  customerAgentTotalAmount?: number;
  /**
   * 会员推广分账总金额
   * @format double
   */
  memberTotalAmount?: number;
  customerAgentDivideSetting?: KunlunDomainEntitiesAgentDivideSetting;
  institutionAgentDivideSetting?: KunlunDomainEntitiesAgentDivideSetting;
}

export interface KunlunModelsProductRevenueAllocationSchemeMemberRewardSettingListItem {
  /** @format int32 */
  id?: number;
  parentLevel?: KunlunDomainEntitiesMemberRewardSettingLevels;
  parentLevelName?: string | null;
  ancestorLevel?: KunlunDomainEntitiesMemberRewardSettingLevels;
  ancestorLevelName?: string | null;
  ancestorOfAncestorLevel?: KunlunDomainEntitiesMemberRewardSettingLevels;
  ancestorOfAncestorLevelName?: string | null;
  target?: KunlunDomainEntitiesMemberRewardTargets;
  targetName?: string | null;
  /** 优惠券Id */
  couponId?: string | null;
  couponName?: string | null;
  /**
   * 优惠券面额
   * @format double
   */
  couponAmount?: number | null;
  couponType?: KunlunDomainCouponTypes;
  couponTypeName?: string | null;
  /** @format int32 */
  couponQty?: number | null;
  /**
   * 支付金额比例
   * @format double
   */
  amountPercent?: number | null;
  remark?: string | null;
}

export interface KunlunModelsProductRevenueAllocationSchemeMemberRewardSettingListRequest {
  /** @format int32 */
  schemeId?: number;
}

export interface KunlunModelsProductRevenueAllocationSchemeModel {
  /** @format int32 */
  id?: number;
  /** @minLength 1 */
  name: string;
  /** @format double */
  price?: number;
  coupon?: KunlunDomainModelsNullableCouponQty;
  /**
   * 平台分账金额
   * @format double
   */
  platformAmount?: number;
  /**
   * 机构分账金额
   * @format double
   */
  institutionAmount?: number;
  /**
   * 机构开发运营商分账总金额
   * @format double
   */
  institutionAgentTotalAmount?: number;
  /**
   * 客户开发运营商分账总金额
   * @format double
   */
  customerAgentTotalAmount?: number;
  /**
   * 会员推广分账总金额
   * @format double
   */
  memberTotalAmount?: number;
  customerAgentDivideSetting?: KunlunDomainEntitiesAgentDivideSetting;
  institutionAgentDivideSetting?: KunlunDomainEntitiesAgentDivideSetting;
}

export interface KunlunModelsProductSkuDetailResponse {
  id?: string | null;
  spec?: string | null;
  /** @format double */
  price?: number;
  coupon?: KunlunDomainModelsNullableCouponQty;
  /**
   * 统一会员价
   * @format double
   */
  unifiedMemberPrice?: number | null;
  unifiedMemberCoupon?: KunlunDomainModelsNullableCouponQty;
  /** 会员价 */
  memberPrices?: {
    非会员?: KunlunModelsStringProductPriceScheme;
    普通会员?: KunlunModelsStringProductPriceScheme;
    银卡会员?: KunlunModelsStringProductPriceScheme;
    金卡会员?: KunlunModelsStringProductPriceScheme;
    黑卡会员?: KunlunModelsStringProductPriceScheme;
  } | null;
  /**
   * 划线价
   * @format double
   */
  listPrice?: number | null;
  limitedMemberLevel?: KunlunDomainLimitedMemberLevel;
  /** 是否福利 */
  isBenefit?: boolean;
  purchaseSettlementMode?: KunlunDomainEntitiesPurchaseSettlementMode;
  /** 采购底价(采购结算模式为底价结算时必填) */
  purchaseBasePrices?: Record<string, number>;
  /** @format int32 */
  inventoryQty?: number;
  /** @format int32 */
  recommendWeight?: number | null;
}

export interface KunlunModelsProductSkuListItem {
  id?: string | null;
  spec?: string | null;
  /** @format double */
  price?: number;
  /** @format int32 */
  couponQty?: number | null;
  couponName?: string | null;
  /** @format double */
  couponAmount?: number | null;
  /** @format int32 */
  schemeId?: number | null;
  schemeName?: string | null;
  /** @format double */
  listPrice?: number | null;
  memberPrices?: Record<string, KunlunModelsProductSkuListItemMemberPrice>;
  limitedMemberLevel?: KunlunDomainLimitedMemberLevel;
  limitedMemberLevelName?: string | null;
  /** 是否福利 */
  isBenefit?: boolean;
  purchaseSettlementMode?: KunlunDomainEntitiesPurchaseSettlementMode;
  /** 采购底价(采购结算模式为底价结算时必填) */
  purchaseBasePrices?: Record<string, number>;
  /** @format int32 */
  inventoryQty?: number;
  /** @format int32 */
  recommendWeight?: number | null;
  isEnabled?: boolean;
  isPurchaseEnabled?: boolean;
  /** @format int32 */
  sort?: number;
  isFirst?: boolean;
  isLast?: boolean;
}

export interface KunlunModelsProductSkuListItemMemberPrice {
  level?: KunlunDomainMemberLevels;
  /** @format double */
  price?: number;
  /** @format int32 */
  couponQty?: number | null;
  couponName?: string | null;
  /** @format double */
  couponAmount?: number | null;
  /** @format int32 */
  schemeId?: number | null;
  schemeName?: string | null;
}

export interface KunlunModelsProductSkuListRequest {
  /** @format int64 */
  productId?: number;
}

export interface KunlunModelsPromoterListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  type?: KunlunDomainPromoterTypes;
  /** 是否启用 */
  isEnabled?: boolean | null;
  /** 所属商家 */
  merchantName?: string | null;
}

export interface KunlunModelsPromoterListResponse {
  id?: string | null;
  mobile?: string | null;
  userName?: string | null;
  memberName?: string | null;
  merchantName?: string | null;
  type?: KunlunDomainPromoterTypes;
  typeName?: string | null;
  remark?: string | null;
  isEnabled?: boolean;
}

export interface KunlunModelsPromotionPolicyDetailListItem {
  /** @format int32 */
  id?: number;
  parentLevel?: KunlunDomainEntitiesMemberRewardSettingLevels;
  parentLevelName?: string | null;
  ancestorLevel?: KunlunDomainEntitiesMemberRewardSettingLevels;
  ancestorLevelName?: string | null;
  ancestorOfAncestorLevel?: KunlunDomainEntitiesMemberRewardSettingLevels;
  ancestorOfAncestorLevelName?: string | null;
  target?: KunlunDomainEntitiesMemberRewardTargets;
  targetName?: string | null;
  /** 优惠券Id */
  couponId?: string | null;
  couponName?: string | null;
  /**
   * 优惠券面额
   * @format double
   */
  couponAmount?: number | null;
  couponType?: KunlunDomainCouponTypes;
  couponTypeName?: string | null;
  /** @format int32 */
  couponQty?: number | null;
  /**
   * 支付金额比例
   * @format double
   */
  amountPercent?: number | null;
  remark?: string | null;
}

export interface KunlunModelsPromotionPolicyDetailListRequest {
  /** @format int64 */
  policyId?: number;
}

export interface KunlunModelsPromotionPolicyDetailResponse {
  /** @format int32 */
  id?: number;
  name?: string | null;
  remark?: string | null;
}

export interface KunlunModelsPromotionPolicyListItem {
  /** @format int32 */
  id?: number;
  name?: string | null;
  remark?: string | null;
  isEnabled?: boolean;
}

export interface KunlunModelsPromotionPolicyListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  isEnabled?: boolean | null;
}

export interface KunlunModelsPurchaseCouponPackageCouponListRequest {
  /** @format int64 */
  purchaseCouponPackageId?: number;
}

export interface KunlunModelsPurchaseCouponPackageCouponListResponse {
  /** @format int32 */
  id?: number;
  couponId?: string | null;
  couponTypeName?: string | null;
  couponName?: string | null;
  /** @format double */
  couponAmount?: number;
  /** @format int32 */
  couponRestQty?: number;
  /** @format int32 */
  qty?: number;
  remark?: string | null;
}

export interface KunlunModelsPurchaseCouponPackageDetailResponse {
  id?: string | null;
  name?: string | null;
  picture?: string | null;
  galleries?: KunlunDomainEntitiesCouponPackageGallery[] | null;
  limitedLevels?: KunlunDomainAgentLevels[] | null;
  /** @format double */
  marketValue?: number;
  /** @format double */
  price?: number;
  agentPrices?: {
    /** @format double */
    无等级?: number;
    /** @format double */
    入门经销商?: number;
    /** @format double */
    普通经销商?: number;
    /** @format double */
    中级经销商?: number;
    /** @format double */
    高级经销商?: number;
    /** @format double */
    普通代理商?: number;
    /** @format double */
    中级代理商?: number;
    /** @format double */
    高级代理商?: number;
    /** @format double */
    合伙级代理商?: number;
    /** @format double */
    独家城市代理商?: number;
  } | null;
  upgradeTo?: KunlunDomainAgentLevels;
  /** 允许商家赠送 */
  allowGive?: boolean;
  description?: string | null;
  isOnline?: boolean;
}

export interface KunlunModelsPurchaseCouponPackageListItem {
  id?: string | null;
  name?: string | null;
  picture?: string | null;
  limitedLevelNames?: string[] | null;
  /** @format double */
  marketValue?: number;
  /** @format double */
  price?: number;
  agentPrices?: {
    /** @format double */
    无等级?: number;
    /** @format double */
    入门经销商?: number;
    /** @format double */
    普通经销商?: number;
    /** @format double */
    中级经销商?: number;
    /** @format double */
    高级经销商?: number;
    /** @format double */
    普通代理商?: number;
    /** @format double */
    中级代理商?: number;
    /** @format double */
    高级代理商?: number;
    /** @format double */
    合伙级代理商?: number;
    /** @format double */
    独家城市代理商?: number;
  } | null;
  upgradeTo?: KunlunDomainAgentLevels;
  /** 允许商家赠送 */
  allowGive?: boolean;
  /** @format int32 */
  couponQty?: number;
  isOnline?: boolean;
}

export interface KunlunModelsPurchaseCouponPackageListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  allowGive?: boolean | null;
}

export interface KunlunModelsPurchaseCouponPackageSettlementPolicyDetailResponse {
  /** @format double */
  totalRewardPercent?: number | null;
  /**
   * 有间接上级的直推上级比例(总奖金)
   * @format double
   */
  directReferrerPercentWithIndirectReferrer?: number | null;
  /**
   * 有间接上级的间接上级比例(总奖金)
   * @format double
   */
  indirectReferrerPercentWithIndirectReferrer?: number | null;
  /** @format int32 */
  indirectReferrers?: number | null;
  /**
   * 无间接上级的直推上级比例(总奖金)
   * @format double
   */
  directReferrerPercentWithoutIndirectReferrer?: number | null;
  id?: string | null;
}

export interface KunlunModelsPurchaseOrderDeliveryRequest {
  /** @format int64 */
  orderId?: number;
  /**
   * 发货时间
   * @format date-time
   */
  deliveryTime?: string;
  /**
   * 物流公司
   * @minLength 1
   */
  expressCompanyId: string;
  /**
   * 物流单号
   * @minLength 1
   */
  trackingNumber: string;
}

export interface KunlunModelsPurchaseOrderDetailResponse {
  id?: string | null;
  /** 订单编号 */
  serialNo?: string | null;
  state?: KunlunDomainEntitiesPurchaseOrderStates;
  stateName?: string | null;
  /**
   * 订单总金额
   * @format double
   */
  amount?: number;
  deliveryType?: KunlunDomainEntitiesPurchaseOrderDeliveryType;
  purchaserId?: string | null;
  purchaserName?: string | null;
  supplierId?: string | null;
  supplierName?: string | null;
  /** 发货方式 */
  deliveryTypeName?: string | null;
  /**
   * 出库单Id
   * @format uuid
   */
  stockOutId?: string | null;
  /** 备注 */
  remark?: string | null;
  /** 退回原因 */
  reason?: string | null;
  /**
   * 创建时间
   * @format date-time
   */
  creationTime?: string;
  /**
   * 支付时间
   * @format date-time
   */
  paymentTime?: string | null;
  /**
   * 发货时间
   * @format date-time
   */
  deliveryTime?: string | null;
  /**
   * 完成时间
   * @format date-time
   */
  finishTime?: string | null;
  /** 付款凭证 */
  attachments?: string[] | null;
  address?: KunlunModelsPurchaseOrderDetailResponseAddressInfo;
  delivery?: KunlunModelsPurchaseOrderDetailResponseOrderDeliveryModel;
  payments?: Record<string, number>;
  details?: KunlunModelsPurchaseOrderDetailResponseOrderDetail[] | null;
}

export interface KunlunModelsPurchaseOrderDetailResponseAddressInfo {
  name?: string | null;
  mobile?: string | null;
  provinceName?: string | null;
  cityName?: string | null;
  countyName?: string | null;
  fullAreaName?: string | null;
  address?: string | null;
}

export interface KunlunModelsPurchaseOrderDetailResponseOrderDeliveryModel {
  /** @format uuid */
  id?: string;
  /** @format date-time */
  deliveryTime?: string;
  expressCompanyId?: string | null;
  expressCompanyName?: string | null;
  trackingNumber?: string | null;
  /** @format date-time */
  arrivalTime?: string | null;
}

export interface KunlunModelsPurchaseOrderDetailResponseOrderDetail {
  goodsId?: string | null;
  goodsName?: string | null;
  content?: any;
  /** @format double */
  price?: number;
  /** @format int32 */
  qty?: number;
  /** @format double */
  amount?: number;
  picture?: string | null;
}

export interface KunlunModelsPurchaseOrderListItem {
  id?: string | null;
  /** 订单号 */
  serialNo?: string | null;
  /** 采购商 */
  purchaserId?: string | null;
  purchaserName?: string | null;
  /** 供应商 */
  supplierId?: string | null;
  supplierName?: string | null;
  state?: KunlunDomainEntitiesPurchaseOrderStates;
  stateName?: string | null;
  /**
   * 总金额
   * @format double
   */
  amount?: number;
  /**
   * 已付款金额
   * @format double
   */
  paidAmount?: number;
  /**
   * 余额支付
   * @format double
   */
  balancePayment?: number;
  /**
   * 采购券支付
   * @format double
   */
  couponPayment?: number;
  /**
   * 其他支付
   * @format double
   */
  otherPayment?: number;
  deliveryType?: KunlunDomainEntitiesPurchaseOrderDeliveryType;
  /** 发货方式 */
  deliveryTypeName?: string | null;
  /**
   * 出库单Id
   * @format uuid
   */
  stockOutId?: string | null;
  address?: KunlunModelsPurchaseOrderListItemAddressInfo;
  /** @format date-time */
  orderTime?: string;
  expressCompanyName?: string | null;
  trackingNumber?: string | null;
  payments?: Record<string, number>;
  details?: KunlunModelsPurchaseOrderListItemGoodsInfo[] | null;
}

export interface KunlunModelsPurchaseOrderListItemAddressInfo {
  name?: string | null;
  mobile?: string | null;
  fullAreaName?: string | null;
  address?: string | null;
}

export interface KunlunModelsPurchaseOrderListItemGoodsInfo {
  goodsId?: string | null;
  goodsName?: string | null;
  /** 商品明细 */
  content?: any;
  /** @format double */
  listPrice?: number | null;
  /** @format double */
  price?: number;
  /** @format int32 */
  qty?: number;
  picture?: string | null;
}

export interface KunlunModelsPurchaseOrderListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  state?: KunlunDomainEntitiesPurchaseOrderStates;
}

export interface KunlunModelsPurchaseOrderReturnRequest {
  /** @format int64 */
  orderId?: number;
  /** @minLength 1 */
  reason: string;
}

export interface KunlunModelsPurchaseOrderTakeDeliveryRequest {
  /** @format int64 */
  orderId?: number;
  /** @format uuid */
  deliveryId?: string | null;
  /** @format date-time */
  arrivalTime?: string;
}

export interface KunlunModelsPurchaseOrderUploadAttachmentsRequest {
  /** @format int64 */
  orderId?: number;
  attachments?: string[] | null;
}

export interface KunlunModelsPurchasePolicyDetailListItem {
  /** @format int32 */
  id?: number | null;
  /** @format int32 */
  institutionLevel?: number;
  institutionLevelName?: string | null;
  /** @format double */
  discount?: number | null;
  remark?: string | null;
}

export interface KunlunModelsPurchasePolicyDetailListRequest {
  /** @format int32 */
  policyId?: number;
}

export interface KunlunModelsPurchasePolicyDetailResponse {
  /** @format int32 */
  id?: number;
  name?: string | null;
  remark?: string | null;
}

export interface KunlunModelsPurchasePolicyListItem {
  /** @format int32 */
  id?: number;
  name?: string | null;
  remark?: string | null;
}

export interface KunlunModelsPurchasePolicyListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
}

export interface KunlunModelsQualificationDetailRequest {
  /** @format int64 */
  merchantId?: number;
}

export interface KunlunModelsQualificationDetailResponse {
  businessQualification?: KunlunModelsBusinessQualificationModel;
  medicalQualification?: KunlunModelsMedicalQualificationModel;
}

export interface KunlunModelsQueryAccountResponse {
  /**
   * 总余额
   * @format double
   */
  totalAccountBalance?: number;
  /**
   * 待分账账户余额
   * @format double
   */
  divideAccountBalance?: number;
  /**
   * 待结算账户余额
   * @format double
   */
  settleAccountBalance?: number;
  /**
   * 资金账户余额
   * @format double
   */
  fundAccountBalance?: number;
  /**
   * 手续费账户余额
   * @format double
   */
  feeAccountBalance?: number;
}

export interface KunlunModelsRegistrationRewardSettingListItem {
  /** @format int32 */
  id?: number;
  /** 注册方式 */
  registrationWay?: KunlunDomainRegistrationWays;
  registrationWayName?: string | null;
  target?: KunlunDomainEntitiesRegistrationRewardTargets;
  targetName?: string | null;
  couponId?: string | null;
  couponName?: string | null;
  /** @format double */
  couponAmount?: number;
  couponType?: KunlunDomainCouponTypes;
  couponTypeName?: string | null;
  /** @format int32 */
  couponAvailableQty?: number;
  /** @format int32 */
  couponQty?: number;
  remark?: string | null;
}

export interface KunlunModelsRejectAccountApplicationRequest {
  /** @format int32 */
  id?: number;
  /** @minLength 1 */
  approvalRemark: string;
}

export interface KunlunModelsRejectAgentApplicationRequest {
  /** @format uuid */
  id?: string;
  /** @minLength 1 */
  rejectReason: string;
}

export interface KunlunModelsRejectEntryApplicationRequest {
  /** @format uuid */
  id?: string;
  /** @minLength 1 */
  rejectReason: string;
}

export interface KunlunModelsRejectOrderRefundRequest {
  /** @format uuid */
  id?: string;
  /** @minLength 1 */
  rejectReason: string;
}

export interface KunlunModelsRejectWithdrawalRequest {
  /** @format int64 */
  id?: number;
  /** @minLength 1 */
  comment: string;
}

export interface KunlunModelsRetractCouponsRequest {
  receiverIds?: number[] | null;
  receiverType?: KunlunDomainCouponReceiverType;
  sourceType?: string | null;
  /** @format date-time */
  beginTime?: string | null;
  /** @format date-time */
  endTime?: string | null;
}

export interface KunlunModelsReturnWithdrawalRequest {
  /** @format int64 */
  id?: number;
  /** @minLength 1 */
  comment: string;
}

export interface KunlunModelsSaveAccountRequest {
  /** @format int32 */
  id?: number | null;
  type?: KunlunDomainWithdrawalAccountType;
  /** @minLength 1 */
  name: string;
  /** @minLength 1 */
  idCardNumber: string;
  /** @minLength 1 */
  bankId: string;
  /** @minLength 1 */
  bankAccountNumber: string;
  /** @minLength 1 */
  mobile: string;
  /** @minLength 1 */
  email: string;
  /** @minLength 1 */
  idCardFront: string;
  /** @minLength 1 */
  idCardBack: string;
  /** @minLength 1 */
  bankCardFront: string;
  /** @minLength 1 */
  bankCardBack: string;
  /** @minLength 1 */
  handIdCard: string;
  /** @minLength 1 */
  handBankCard: string;
  isDefault?: boolean;
  isEnabled?: boolean;
  remark?: string | null;
}

export interface KunlunModelsSaveAdminUserRolesRequest {
  /** @format int64 */
  userId?: number;
  roleIds?: number[] | null;
}

export interface KunlunModelsSaveAgentInstitutionProductRequest {
  /** @format int64 */
  agentId?: number;
  /** @format int64 */
  institutionId?: number;
  /** @format int64 */
  productSkuId?: number;
  departmentIds?: number[] | null;
  doctorIds?: number[] | null;
  /** @format double */
  settlementPrice?: number;
}

export interface KunlunModelsSaveAgentLevelRequest {
  /** @format int32 */
  id?: number;
  /**
   * 银卡会员赠送数量
   * @format int32
   */
  silverMemberGiftQty?: number;
  /**
   * 金卡会员赠送数量
   * @format int32
   */
  goldMemberGiftQty?: number;
  instruction?: string | null;
  remark?: string | null;
}

export interface KunlunModelsSaveArticleCategoryRequest {
  /** @format int32 */
  id?: number | null;
  /** @minLength 1 */
  name: string;
  /** @format int32 */
  parentId?: number | null;
}

export interface KunlunModelsSaveArticleNavigationRequest {
  /** @format int32 */
  id?: number | null;
  /** @minLength 1 */
  icon: string;
  /** @minLength 1 */
  title: string;
  type?: KunlunDomainEntitiesArticleNavigationType;
  parameters?: any;
}

export interface KunlunModelsSaveArticleRequest {
  /** @format int64 */
  id?: number | null;
  /** @minLength 1 */
  title: string;
  /** @minLength 1 */
  cover: string;
  /** @format int32 */
  categoryId?: number;
  layout?: KunlunDomainEntitiesArticleLayout;
  content?: string | null;
  sections?: KunlunModelsSaveArticleRequestSectionModel[] | null;
  /** 是否发布 */
  isPublished?: boolean;
}

export interface KunlunModelsSaveArticleRequestSectionModel {
  /** @format int32 */
  id?: number | null;
  title?: string | null;
  content?: string | null;
}

export interface KunlunModelsSaveBannerRequest {
  /** @format int32 */
  id?: number | null;
  type?: KunlunDomainEntitiesBannerType;
  picture?: string | null;
  navigationType?: KunlunDomainEntitiesBannerNavigationType;
  parameters?: any;
  link?: string | null;
  remark?: string | null;
}

export interface KunlunModelsSaveBusinessQualificationRequest {
  /** @minLength 1 */
  licenseNo: string;
  /** @minLength 1 */
  companyName: string;
  /** @minLength 1 */
  legalPerson: string;
  /** @format date */
  expirationDate?: string | null;
  /** @format int64 */
  merchantId?: number;
  files?: KunlunDomainEntitiesQualificationFile[] | null;
}

export interface KunlunModelsSaveCommonDepartmentRequest {
  /** @format int32 */
  id?: number | null;
  name?: string | null;
  /** @format int32 */
  parentId?: number | null;
  /** @format int32 */
  fudanDepartmentId?: number | null;
}

export interface KunlunModelsSaveCouponInstructionRequest {
  /** @minLength 1 */
  content: string;
}

export interface KunlunModelsSaveCouponPackageCompensationSettingRequest {
  /**
   * 补偿金额比例(支付金额)
   * @format double
   */
  totalPercent?: number | null;
  /**
   * 有间接运营商的直接运营商比例(补偿金额)
   * @format double
   */
  directPercentWithIndirectReferrer?: number | null;
  /**
   * 有间接运营商的间接运营商比例(补偿金额)
   * @format double
   */
  indirectPercentWithIndirectReferrer?: number | null;
  /**
   * 无间接运营商的直推运营商比例(补偿金额)
   * @format double
   */
  directPercentWithoutIndirectReferrer?: number | null;
  /** @format int64 */
  id?: number;
}

export interface KunlunModelsSaveCouponPackageCouponRequest {
  /** @format int32 */
  id?: number | null;
  /** @format int64 */
  couponPackageId?: number;
  target?: KunlunDomainCouponTarget;
  scope?: KunlunDomainCouponReceiverType;
  condition?: KunlunDomainEntitiesCouponPackageCondition;
  /** @format int64 */
  couponId?: number;
  /** @format int32 */
  qty?: number;
  remark?: string | null;
}

export interface KunlunModelsSaveCouponPackageMerchantPromotionPolicyRequest {
  /** @format int64 */
  couponPackageId?: number;
  /** @format int64 */
  merchantId?: number;
  /** @format int32 */
  promotionPolicyId?: number;
}

export interface KunlunModelsSaveCouponPackageRequest {
  /** @format int64 */
  id?: number | null;
  /** @minLength 1 */
  name: string;
  shortName?: string | null;
  picture?: string | null;
  galleries?: KunlunDomainEntitiesCouponPackageGallery[] | null;
  sharePosters?: KunlunDomainModelsSharePoster[] | null;
  /** @format int32 */
  type?: number;
  /** @format double */
  listPrice?: number | null;
  /** @format double */
  price?: number;
  /** @format double */
  memberPrice?: number;
  /** 会员等级对应的会员价 */
  memberPrices?: {
    /** @format double */
    非会员?: number;
    /** @format double */
    普通会员?: number;
    /** @format double */
    银卡会员?: number;
    /** @format double */
    金卡会员?: number;
    /** @format double */
    黑卡会员?: number;
  } | null;
  /** 限制等级(可购买等级) */
  limitedLevels?: KunlunDomainMemberLevels[] | null;
  memberUpgradeTo?: KunlunDomainMemberLevels;
  promoterUpgradeTo?: KunlunDomainPromoterTypes;
  /** 允许商家赠送 */
  allowMerchantGive?: boolean;
  /** 邀请卡 */
  memberCards?: {
    /** @format int32 */
    非会员?: number;
    /** @format int32 */
    普通会员?: number;
    /** @format int32 */
    银卡会员?: number;
    /** @format int32 */
    金卡会员?: number;
    /** @format int32 */
    黑卡会员?: number;
  } | null;
  /**
   * @format int32
   * @min 1
   * @max 360
   */
  validityPeriod?: number;
  description?: string | null;
  showInMyPage?: boolean;
  /** 是否权益卡 */
  isEquity?: boolean;
  /**
   * 每个用户限购数量
   * @format int32
   */
  purchaseLimitationQtyPerUser?: number | null;
  allowance?: KunlunDomainEntitiesNullableAllowanceSetting;
  allowanceAcceleration?: KunlunDomainEntitiesNullableAllowanceAccelerationSetting;
}

export interface KunlunModelsSaveCouponPackageRewardSettingRequest {
  /** @format int32 */
  id?: number | null;
  /** @format int64 */
  couponPackageId?: number;
  parentLevel?: KunlunDomainEntitiesMemberRewardSettingLevels;
  ancestorLevel?: KunlunDomainEntitiesMemberRewardSettingLevels;
  ancestorOfAncestorLevel?: KunlunDomainEntitiesMemberRewardSettingLevels;
  target?: KunlunDomainEntitiesMemberRewardTargets;
  /**
   * 优惠券Id
   * @format int64
   */
  couponId?: number | null;
  /** @format int32 */
  couponQty?: number | null;
  /**
   * 支付金额比例
   * @format double
   * @min 1
   * @max 100
   */
  amountPercent?: number | null;
  remark?: string | null;
}

export interface KunlunModelsSaveCouponPackageSettlementPolicyRequest {
  /** @format int64 */
  couponPackageId?: number;
  agentLevel?: KunlunDomainAgentLevels;
  /** @format double */
  settlementPrice?: number;
}

export interface KunlunModelsSaveCouponPackageTypeRequest {
  /** @format int32 */
  id?: number | null;
  /** @format int32 */
  parentId?: number | null;
  /** @minLength 1 */
  name: string;
  picture?: string | null;
  isEnabled?: boolean;
  remark?: string | null;
}

export interface KunlunModelsSaveCouponRequest {
  /** @format int64 */
  id?: number | null;
  /** @format int32 */
  category?: number;
  type?: KunlunDomainCouponTypes;
  /** @minLength 1 */
  name: string;
  /** @format double */
  amount?: number;
  /** @format int64 */
  relatedNormalCouponId?: number | null;
  unlimitedLevel?: KunlunDomainMemberLevels;
  expirationType?: KunlunDomainCouponExpirationTypes;
  /** @format date */
  beginTime?: string | null;
  /** @format date */
  endTime?: string | null;
  /** @format int32 */
  validityPeriod?: number | null;
  /** @format int32 */
  qty?: number;
  receiveMethod?: KunlunDomainCouponReceiveMethods;
  /** @format int32 */
  issueMethod?: number | null;
  /** @format int32 */
  receiveLimit?: number;
  allowSuperposition?: boolean;
  goodsScope?: KunlunDomainCouponGoodsScope;
  goods?: KunlunDomainEntitiesCouponGoodsQty[] | null;
  poster?: string | null;
  remark?: string | null;
  /** 使用说明 */
  instruction?: string | null;
  /**
   * 每满X元使用可使用优惠券
   * @format double
   */
  everyAmount?: number | null;
  allowanceConversion?: KunlunDomainEntitiesNullableCouponAllowanceConversion;
  commissionSale?: KunlunDomainEntitiesNullableCouponCommissionSaleSetting;
}

export interface KunlunModelsSaveCustomerServiceRequest {
  /** @format int32 */
  id?: number | null;
  area?: KunlunDomainModelsNullableAreaModel;
  /** 联系电话 */
  contactNumber?: string | null;
  /** 企业微信 */
  workWeixin?: string | null;
  /** 企业微信二维码 */
  workWeixinQrCode?: string | null;
}

export interface KunlunModelsSaveDeliveryRequest {
  /** @format uuid */
  id?: string | null;
  /** @format int64 */
  orderId?: number;
  /**
   * 发货时间
   * @format date-time
   */
  deliveryTime?: string;
  /**
   * 物流公司
   * @minLength 1
   */
  expressCompanyId: string;
  /**
   * 物流单号
   * @minLength 1
   */
  trackingNumber: string;
  /** @format double */
  postage: number;
  expressListPicture: string[];
}

export interface KunlunModelsSaveDoctorRequest {
  /** @format int64 */
  id?: number | null;
  /** @format int64 */
  merchantId?: number;
  /** @minLength 1 */
  name: string;
  avatar?: string | null;
  title?: KunlunDomainDoctorTitle;
  /** @format int64 */
  departmentId?: number | null;
  /** @format int32 */
  workingYears?: number | null;
  certificateNo?: string | null;
  certificatePicture?: string | null;
  skills?: string | null;
  introduction?: string | null;
  /** @format int32 */
  tag?: number | null;
}

export interface KunlunModelsSaveFudanDepartmentRequest {
  /** @format int32 */
  id?: number | null;
  /** @minLength 1 */
  name: string;
  icon?: string | null;
}

export interface KunlunModelsSaveHealthCheckDeviceRequest {
  /** @minLength 1 */
  id: string;
  /** @minLength 1 */
  name: string;
  /** @minLength 1 */
  number: string;
  /** @format int64 */
  agentId?: number;
  /** @format int64 */
  institutionId?: number | null;
  /** @format int64 */
  promoterId?: number | null;
}

export interface KunlunModelsSaveHomePageProductSectionRequest {
  /** @format uuid */
  id?: string | null;
  /** @minLength 1 */
  title: string;
  /** @format int64 */
  couponId?: number;
  /** @format int32 */
  type?: number;
  remark?: string | null;
  isEnabled?: boolean;
}

export interface KunlunModelsSaveMedicalQualificationRequest {
  type?: string | null;
  /** @minLength 1 */
  certificateNo: string;
  /** @minLength 1 */
  organizationName: string;
  /** @minLength 1 */
  legalPerson: string;
  /** @format date */
  expirationDate?: string | null;
  /** @format int64 */
  merchantId?: number;
  files?: KunlunDomainEntitiesQualificationFile[] | null;
}

export interface KunlunModelsSaveMemberLevelRequest {
  /** @format int32 */
  id?: number;
  picture?: string | null;
  /**
   * 最大健康档案数
   * @format int32
   */
  maxPatients?: number;
  /**
   * 月度服务项目数
   * @format int32
   */
  maxServicesPerMonth?: number;
  /**
   * 年度服务项目数
   * @format int32
   */
  maxServicesPerYear?: number;
  instruction?: string | null;
  remark?: string | null;
}

export interface KunlunModelsSaveMemberLevelUpgradeRewardSettingRequest {
  /** @format int32 */
  id?: number | null;
  /** @format int64 */
  couponId?: number;
  /** @format int32 */
  qty?: number;
  remark?: string | null;
  /** @format int32 */
  levelId?: number;
}

export interface KunlunModelsSaveMemberRequest {
  /** @format int64 */
  id?: number | null;
  mobile?: string | null;
  /** @minLength 1 */
  firstName: string;
  lastName?: string | null;
  gender?: KunlunDomainGender;
  /** @format int64 */
  merchantId?: number;
  /** 省市区 */
  area?: KunlunDomainModelsAreaModel;
  /** 省市区 */
  area2?: KunlunDomainModelsAreaModel;
  /** 省市区 */
  area3?: KunlunDomainModelsAreaModel;
  /** 省市区 */
  nativePlace?: KunlunDomainModelsAreaModel;
  company?: string | null;
  position?: string | null;
  address?: string | null;
  industry?: number[] | null;
  /** 兴趣爱好 */
  interest?: string | null;
  /** 客户人群 */
  customerGroups?: string | null;
  /** 公司产品 */
  companyProducts?: string | null;
  /** 提供的服务 */
  servicesProvided?: string | null;
  isEnabled?: boolean;
}

export interface KunlunModelsSaveMerchantAdminRequest {
  /** @format int64 */
  merchantId?: number;
  /** @format int64 */
  id?: number | null;
  /** @minLength 1 */
  account: string;
  password?: string | null;
  /** @minLength 1 */
  name: string;
  role?: KunlunInfrastructureAuthMerchantAdminRoles;
  /** @format int64 */
  parentPromoterId?: number | null;
  isEnabled?: boolean;
}

export interface KunlunModelsSaveMerchantAdvantageRequest {
  /** @format int64 */
  merchantId?: number;
  /** @format int32 */
  fudanDepartmentId?: number;
  /**
   * 复旦全国排名
   * @format int32
   */
  fudanNationwideRank?: number | null;
  /**
   * 复旦排行榜专科平均声誉值
   * @format double
   */
  fudanReputationAverage?: number | null;
  /**
   * 复旦排行榜声誉权重
   * @format double
   */
  fudanReputationScore?: number | null;
  /**
   * 复旦排行榜科研权重
   * @format double
   */
  fudanScientificScore?: number | null;
  /**
   * 复旦排行榜总得分
   * @format double
   */
  fudanTotalScore?: number | null;
  /**
   * 复旦地区
   * @format int32
   */
  fudanArea?: number | null;
  /**
   * 复旦地区排名
   * @format int32
   */
  fudanAreaRankNumber?: number | null;
}

export interface KunlunModelsSaveMerchantDepartmentRequest {
  /** @format int64 */
  id?: number | null;
  /** @format int64 */
  merchantId?: number;
  /** @minLength 1 */
  name: string;
  /** @format int64 */
  parentId?: number | null;
  /** @format int32 */
  commonDepartmentId?: number | null;
  /** 简介 */
  introduction?: string | null;
}

export interface KunlunModelsSaveMerchantGalleriesRequest {
  /** @format int64 */
  merchantId?: number;
  galleries?: KunlunModelsMerchantGalleryModel[] | null;
}

export interface KunlunModelsSaveMerchantIntroductionRequest {
  /** @format int64 */
  merchantId?: number;
  introduction?: string | null;
}

export interface KunlunModelsSaveMerchantMemberGiftSettingRequest {
  /** @format int64 */
  merchantId?: number;
  memberLevel?: KunlunDomainMemberLevels;
  /**
   * @format int32
   * @min 0
   * @max 9999
   */
  totalQty?: number;
}

export interface KunlunModelsSaveMerchantProductRequest {
  /** @format int64 */
  merchantId?: number;
  /** @format int64 */
  productId?: number;
  /** @format int64 */
  productSkuId?: number;
  departmentIds?: number[] | null;
  doctorIds?: number[] | null;
}

export interface KunlunModelsSaveMerchantRequest {
  /** @format int64 */
  id?: number | null;
  /** @minLength 1 */
  name: string;
  industry?: number[] | null;
  /** 省市区 */
  area?: KunlunDomainModelsAreaModel;
  category?: KunlunDomainMerchantCategory;
  institutionType?: KunlunDomainInstitutionType;
  /** @format int32 */
  institutionLevel?: number | null;
  /** 服务商类型 */
  providerType?: number[] | null;
  agentLevel?: KunlunDomainAgentLevels;
  storeType?: KunlunDomainStoreType;
  /** @format float */
  acreage?: number | null;
  contactName?: string | null;
  contactNumber?: string | null;
  platformNumber?: string | null;
  /** @format int32 */
  rooms?: number | null;
  /** @format int32 */
  doctors?: number | null;
  address?: string | null;
  /** @format double */
  lat?: number | null;
  /** @format double */
  lng?: number | null;
  washroom?: boolean | null;
  parkingLot?: boolean | null;
  /** @format int32 */
  floors?: number | null;
  /** @format date */
  openTime?: string | null;
  /** @format time */
  businessTimeBegin?: string | null;
  /** @format time */
  businessTimeEnd?: string | null;
  restDays?: string | null;
  number?: string | null;
  remark?: string | null;
  belongsTo?: string | null;
  parkingLotFees?: string | null;
  roomFees?: string | null;
  entryState?: KunlunDomainEntitiesMerchantEntryState;
  /** @format int64 */
  parentId?: number | null;
  /**
   * 复旦全国排名
   * @format int32
   */
  fudanNationwideRank?: number | null;
  /**
   * 复旦排行榜声誉权重
   * @format double
   */
  fudanReputationScore?: number | null;
  /**
   * 复旦排行榜科研权重
   * @format double
   */
  fudanScientificScore?: number | null;
  /**
   * 复旦排行榜总得分
   * @format double
   */
  fudanTotalScore?: number | null;
  fudanAreaRank?: KunlunDomainModelsNullableAreaRank;
  /**
   * 复旦区域排行榜声誉权重
   * @format double
   */
  fudanAreaReputationScore?: number | null;
  /**
   * 复旦区域排行榜科研权重
   * @format double
   */
  fudanAreaScientificScore?: number | null;
  /**
   * 复旦区域排行榜总得分
   * @format double
   */
  fudanAreaTotalScore?: number | null;
  /**
   * 中医全国排名
   * @format int32
   */
  tcmNationwideRank?: number | null;
  galleries?: KunlunModelsMerchantGalleryModel[] | null;
  sharePosters?: KunlunDomainModelsSharePoster[] | null;
}

export interface KunlunModelsSaveNavigationRequest {
  /** @format int32 */
  id?: number | null;
  section?: KunlunDomainEntitiesNavigationSection;
  name?: string | null;
  /** @format int32 */
  parentId?: number | null;
  icon?: string | null;
  showInHomePage?: boolean;
  jumpType?: KunlunDomainEntitiesNavigationJumpType;
  jumpParameters?: KunlunDomainEntitiesNavigationJumpParameterModel[] | null;
}

export interface KunlunModelsSaveOperationFeeAgentDivideSettingRequest {
  /**
   * 有间接上级的直推上级比例(总奖金)
   * @format double
   */
  directReferrerPercentWithIndirectReferrer?: number | null;
  /**
   * 有间接上级的间接上级比例(总奖金)
   * @format double
   */
  indirectReferrerPercentWithIndirectReferrer?: number | null;
  /**
   * 间接上级数量
   * @format int32
   */
  indirectReferrers?: number | null;
  /**
   * 无间接上级的直推上级比例(总奖金)
   * @format double
   */
  directReferrerPercentWithoutIndirectReferrer?: number | null;
  /** @format int32 */
  operationFeeId?: number;
}

export interface KunlunModelsSaveOperationFeeMemberRewardSettingRequest {
  /** @format int32 */
  id?: number | null;
  /** @format int32 */
  operationFeeId?: number;
  parentLevel?: KunlunDomainEntitiesMemberRewardSettingLevels;
  ancestorLevel?: KunlunDomainEntitiesMemberRewardSettingLevels;
  ancestorOfAncestorLevel?: KunlunDomainEntitiesMemberRewardSettingLevels;
  target?: KunlunDomainEntitiesMemberRewardTargets;
  /**
   * 优惠券Id
   * @format int64
   */
  couponId?: number | null;
  /** @format int32 */
  couponQty?: number | null;
  /**
   * 支付金额比例
   * @format double
   * @min 1
   * @max 100
   */
  amountPercent?: number | null;
  remark?: string | null;
}

export interface KunlunModelsSaveOperationFeeRequest {
  /** @format int32 */
  id?: number | null;
  /** @minLength 1 */
  name: string;
  /** @format double */
  price?: number;
  /** @format int32 */
  unit?: number;
  unitName?: string | null;
  /**
   * 平台分账金额
   * @format double
   */
  platformAmount?: number;
  /**
   * 操作机构分账金额
   * @format double
   */
  organizationAmount?: number;
  /**
   * 机构开发运营商分账总金额
   * @format double
   */
  organizationAgentTotalAmount?: number;
  /**
   * 客户开发运营商分账总金额
   * @format double
   */
  customerAgentTotalAmount?: number;
  /**
   * 会员推广分账总金额
   * @format double
   */
  memberTotalAmount?: number;
  customerAgentDivideSetting?: KunlunDomainEntitiesAgentDivideSetting;
  organizationAgentDivideSetting?: KunlunDomainEntitiesAgentDivideSetting;
}

export interface KunlunModelsSaveOrganizationAgentOperationFeeDivideSettingsRequest {
  /** @format int64 */
  merchantId?: number;
  /** @format int32 */
  operationFeeId?: number;
  settings?: KunlunModelsSaveOrganizationAgentOperationFeeDivideSettingsRequestSetting[] | null;
}

export interface KunlunModelsSaveOrganizationAgentOperationFeeDivideSettingsRequestSetting {
  /** @format int64 */
  agentId?: number;
  /** @format double */
  amount?: number;
}

export interface KunlunModelsSavePageRequest {
  /** @format uuid */
  id?: string | null;
  /** @minLength 1 */
  name: string;
  code?: string | null;
  title?: string | null;
}

export interface KunlunModelsSavePickupAddressRequest {
  /** @format uuid */
  id?: string | null;
  /** @minLength 1 */
  name: string;
  /** @minLength 1 */
  mobile: string;
  /** 省市区 */
  area?: KunlunDomainModelsAreaModel;
  /** @minLength 1 */
  address: string;
  isDefault?: boolean;
}

export interface KunlunModelsSavePlatformAccountRequest {
  /** @format int32 */
  id?: number | null;
  /** @minLength 1 */
  name: string;
  /** @minLength 1 */
  idCardNumber: string;
  /** @minLength 1 */
  bankId: string;
  /** @minLength 1 */
  bankAccountNumber: string;
  /** @minLength 1 */
  mobile: string;
  /** @minLength 1 */
  email: string;
  /** @minLength 1 */
  idCardFront: string;
  /** @minLength 1 */
  idCardBack: string;
  /** @minLength 1 */
  bankCardFront: string;
  /** @minLength 1 */
  bankCardBack: string;
  /** @minLength 1 */
  handIdCard: string;
  /** @minLength 1 */
  handBankCard: string;
  merchantNo?: string | null;
  remark?: string | null;
}

export interface KunlunModelsSavePolicyRequest {
  /** @format int32 */
  id?: number | null;
  /** @minLength 1 */
  name: string;
  remark?: string | null;
}

export interface KunlunModelsSavePositionRequest {
  /** @format int32 */
  id?: number | null;
  /** @minLength 1 */
  name: string;
  remark?: string | null;
}

export interface KunlunModelsSaveProductAreaRequest {
  /** @format int32 */
  id?: number | null;
  /** @format int64 */
  productId?: number;
  area?: KunlunDomainModelsNullableAreaModel;
  remark?: string | null;
}

export interface KunlunModelsSaveProductRevenueAllocationSchemeAgentDivideSettingRequest {
  /**
   * 有间接上级的直推上级比例(总奖金)
   * @format double
   */
  directReferrerPercentWithIndirectReferrer?: number | null;
  /**
   * 有间接上级的间接上级比例(总奖金)
   * @format double
   */
  indirectReferrerPercentWithIndirectReferrer?: number | null;
  /**
   * 间接上级数量
   * @format int32
   */
  indirectReferrers?: number | null;
  /**
   * 无间接上级的直推上级比例(总奖金)
   * @format double
   */
  directReferrerPercentWithoutIndirectReferrer?: number | null;
  /** @format int32 */
  schemeId?: number;
}

export interface KunlunModelsSaveProductRevenueAllocationSchemeMemberRewardSettingRequest {
  /** @format int32 */
  id?: number | null;
  /** @format int32 */
  schemeId?: number;
  parentLevel?: KunlunDomainEntitiesMemberRewardSettingLevels;
  ancestorLevel?: KunlunDomainEntitiesMemberRewardSettingLevels;
  ancestorOfAncestorLevel?: KunlunDomainEntitiesMemberRewardSettingLevels;
  target?: KunlunDomainEntitiesMemberRewardTargets;
  /**
   * 优惠券Id
   * @format int64
   */
  couponId?: number | null;
  /** @format int32 */
  couponQty?: number | null;
  /**
   * 支付金额比例
   * @format double
   * @min 1
   * @max 100
   */
  amountPercent?: number | null;
  remark?: string | null;
}

export interface KunlunModelsSaveProductRevenueAllocationSchemeRequest {
  /** @format int32 */
  id?: number | null;
  /** @minLength 1 */
  name: string;
  /** @format double */
  price?: number;
  coupon?: KunlunDomainModelsNullableCouponQty;
  /**
   * 平台分账金额
   * @format double
   */
  platformAmount?: number;
  /**
   * 机构分账金额
   * @format double
   */
  institutionAmount?: number;
  /**
   * 机构开发运营商分账总金额
   * @format double
   */
  institutionAgentTotalAmount?: number;
  /**
   * 客户开发运营商分账总金额
   * @format double
   */
  customerAgentTotalAmount?: number;
  /**
   * 会员推广分账总金额
   * @format double
   */
  memberTotalAmount?: number;
  customerAgentDivideSetting?: KunlunDomainEntitiesAgentDivideSetting;
  institutionAgentDivideSetting?: KunlunDomainEntitiesAgentDivideSetting;
}

export interface KunlunModelsSaveProductSkuRequest {
  /** @format int64 */
  id?: number | null;
  /** @format int64 */
  productId?: number;
  spec?: string | null;
  /** @format double */
  price?: number;
  coupon?: KunlunDomainModelsNullableCouponQty;
  /**
   * 统一会员价
   * @format double
   */
  unifiedMemberPrice?: number | null;
  unifiedMemberCoupon?: KunlunDomainModelsNullableCouponQty;
  /** 会员价 */
  memberPrices?: {
    非会员?: KunlunDomainEntitiesNullableProductPriceScheme;
    普通会员?: KunlunDomainEntitiesNullableProductPriceScheme;
    银卡会员?: KunlunDomainEntitiesNullableProductPriceScheme;
    金卡会员?: KunlunDomainEntitiesNullableProductPriceScheme;
    黑卡会员?: KunlunDomainEntitiesNullableProductPriceScheme;
  } | null;
  /**
   * 划线价
   * @format double
   */
  listPrice?: number | null;
  limitedMemberLevel?: KunlunDomainLimitedMemberLevel;
  /** 是否福利 */
  isBenefit?: boolean;
  purchaseSettlementMode?: KunlunDomainEntitiesPurchaseSettlementMode;
  /** 采购底价(采购结算模式为底价结算时必填) */
  purchaseBasePrices?: Record<string, number>;
  /** @format int32 */
  inventoryQty?: number;
  /** @format int32 */
  recommendWeight?: number | null;
}

export interface KunlunModelsSavePromotionPolicyDetailRequest {
  /** @format int32 */
  id?: number | null;
  /** @format int64 */
  policyId?: number;
  parentLevel?: KunlunDomainEntitiesMemberRewardSettingLevels;
  ancestorLevel?: KunlunDomainEntitiesMemberRewardSettingLevels;
  ancestorOfAncestorLevel?: KunlunDomainEntitiesMemberRewardSettingLevels;
  target?: KunlunDomainEntitiesMemberRewardTargets;
  /**
   * 优惠券Id
   * @format int64
   */
  couponId?: number | null;
  /** @format int32 */
  couponQty?: number | null;
  /**
   * 支付金额比例
   * @format double
   * @min 1
   * @max 100
   */
  amountPercent?: number | null;
  remark?: string | null;
}

export interface KunlunModelsSavePromotionPolicyRequest {
  /** @format int32 */
  id?: number | null;
  remark?: string | null;
  /** @minLength 1 */
  name: string;
}

export interface KunlunModelsSavePurchaseCouponPackageCouponRequest {
  /** @format int32 */
  id?: number | null;
  /** @format int64 */
  purchaseCouponPackageId?: number;
  /** @format int64 */
  couponId?: number;
  /** @format int32 */
  qty?: number;
  remark?: string | null;
}

export interface KunlunModelsSavePurchaseCouponPackageRequest {
  /** @format int64 */
  id?: number | null;
  /** @minLength 1 */
  name: string;
  /** @minLength 1 */
  picture: string;
  galleries: KunlunDomainEntitiesCouponPackageGallery[];
  limitedLevels?: KunlunDomainAgentLevels[] | null;
  /** @format double */
  marketValue?: number;
  /** @format double */
  price?: number;
  agentPrices?: {
    /** @format double */
    无等级?: number;
    /** @format double */
    入门经销商?: number;
    /** @format double */
    普通经销商?: number;
    /** @format double */
    中级经销商?: number;
    /** @format double */
    高级经销商?: number;
    /** @format double */
    普通代理商?: number;
    /** @format double */
    中级代理商?: number;
    /** @format double */
    高级代理商?: number;
    /** @format double */
    合伙级代理商?: number;
    /** @format double */
    独家城市代理商?: number;
  } | null;
  upgradeTo?: KunlunDomainAgentLevels;
  /** 允许商家赠送 */
  allowGive?: boolean;
  /** @minLength 1 */
  description: string;
}

export interface KunlunModelsSavePurchaseCouponPackageSettlementPolicyRequest {
  /** @format double */
  totalRewardPercent?: number | null;
  /**
   * 有间接上级的直推上级比例(总奖金)
   * @format double
   */
  directReferrerPercentWithIndirectReferrer?: number | null;
  /**
   * 有间接上级的间接上级比例(总奖金)
   * @format double
   */
  indirectReferrerPercentWithIndirectReferrer?: number | null;
  /** @format int32 */
  indirectReferrers?: number | null;
  /**
   * 无间接上级的直推上级比例(总奖金)
   * @format double
   */
  directReferrerPercentWithoutIndirectReferrer?: number | null;
  /** @format int64 */
  id?: number;
}

export interface KunlunModelsSavePurchasePolicyRequest {
  /** @format int32 */
  id?: number | null;
  /** @minLength 1 */
  name: string;
  remark?: string | null;
}

export interface KunlunModelsSaveRegistrationRewardSettingRequest {
  /** @format int32 */
  id?: number | null;
  /** 注册方式 */
  registrationWay?: KunlunDomainRegistrationWays;
  target?: KunlunDomainEntitiesRegistrationRewardTargets;
  /** @format int64 */
  couponId?: number;
  /**
   * @format int32
   * @min 1
   * @max 1000
   */
  couponQty?: number;
  remark?: string | null;
}

export interface KunlunModelsSaveRoleFeaturesRequest {
  /** @format int32 */
  roleId?: number;
  menuFeatures?: KunlunModelsMenuFeatureRequest[] | null;
}

export interface KunlunModelsSaveRoleMenusRequest {
  /** @format int32 */
  roleId?: number;
  menuIds?: number[] | null;
}

export interface KunlunModelsSaveSharingMaterialRequest {
  /** @format uuid */
  id?: string | null;
  /** @minLength 1 */
  title: string;
  /** @minLength 1 */
  picture: string;
  isEnabled?: boolean;
}

export interface KunlunModelsSaveStockInRequest {
  /** @format uuid */
  id?: string | null;
  /** @format uuid */
  stockroomId?: string;
  /** @format date-time */
  storageTime?: string;
  remark?: string | null;
  /** @format int64 */
  orderId?: number | null;
  items?: KunlunModelsSaveStockInRequestItem[] | null;
}

export interface KunlunModelsSaveStockInRequestItem {
  /** @format int64 */
  skuId?: number;
  /** @format int32 */
  qty?: number;
}

export interface KunlunModelsSaveStockOutRequest {
  /** @format uuid */
  id?: string | null;
  /** @format uuid */
  stockroomId?: string;
  type?: KunlunDomainStockOutType;
  /** @format date-time */
  outboundTime?: string;
  remark?: string | null;
  /**
   * 销售订单Id
   * @format int64
   */
  orderId?: number | null;
  items?: KunlunModelsSaveStockOutRequestItem[] | null;
}

export interface KunlunModelsSaveStockOutRequestItem {
  /** @format int64 */
  skuId?: number;
  /** @format int32 */
  qty?: number;
}

export interface KunlunModelsSaveStockroomRequest {
  /** @format uuid */
  id?: string | null;
  /** @minLength 1 */
  name: string;
  remark?: string | null;
}

export interface KunlunModelsSaveUserMenuRequest {
  /** @format int32 */
  id?: number | null;
  /** @format int32 */
  sectionId?: number;
  /**
   * 上级菜单Id
   * @format int32
   */
  parentId?: number | null;
  /** @minLength 1 */
  title: string;
  /** @minLength 1 */
  icon: string;
  navigationType?: KunlunDomainEntitiesUserMenuNavigationType;
  navigationUrl?: string | null;
  parameters?: any;
  /** 背景色 */
  backgroundColor?: string | null;
  isHot?: boolean;
  pictures?: string[] | null;
  introduction?: string | null;
}

export interface KunlunModelsSaveUserMenuSectionRequest {
  /** @format int32 */
  id?: number | null;
  /** @minLength 1 */
  title: string;
}

export interface KunlunModelsSaveWidgetContentAreaRequest {
  /** @format uuid */
  id?: string | null;
  /** @format uuid */
  widgetId?: string;
  /** 内容区域标题 */
  title?: string | null;
  type?: KunlunDomainEntitiesWidgetContentAreaType;
  dataSource?: KunlunDomainEntitiesWidgetContentDataSource;
  /** 内容参数 */
  parameters?: any;
  /**
   * 列数
   * @format int32
   */
  columns?: number | null;
  /**
   * 限制显示项的数量
   * @format int32
   */
  limit?: number | null;
  itemLayout?: KunlunDomainEntitiesWidgetItemLayout;
  /**
   * 项宽度
   * @format double
   */
  itemWidth?: number | null;
  /**
   * 项高度
   * @format double
   */
  itemHeight?: number | null;
  /** 自定义样式 */
  style?: any;
  /** @format int32 */
  sort?: number;
}

export interface KunlunModelsSaveWidgetItemRequest {
  /** @format uuid */
  id?: string | null;
  /** @format uuid */
  contentAreaId?: string;
  /** 背景色 */
  backgroundColor?: string | null;
  layout?: KunlunDomainEntitiesWidgetItemLayout;
  navigationType?: KunlunDomainEntitiesWidgetItemNavigationType;
  /** 自定义导航链接 */
  navigationUrl?: string | null;
  /** 参数 */
  parameters?: any;
  /**
   * 宽度
   * @format double
   */
  width?: number | null;
  /**
   * 高度
   * @format double
   */
  height?: number | null;
  imageUrl?: string | null;
  title?: string | null;
  description?: string | null;
  /** @format double */
  price?: number | null;
  coupon?: KunlunDomainModelsCouponQty;
  /** 自定义样式 */
  style?: any;
  /** @format int32 */
  sort?: number;
}

export interface KunlunModelsSaveWidgetRequest {
  /** @format uuid */
  id?: string | null;
  /** @format uuid */
  pageId?: string;
  layout?: KunlunDomainEntitiesWidgetLayout;
  /**
   * 组件标题
   * @minLength 1
   */
  title: string;
  /** 是否显示标题栏 */
  showTitle?: boolean;
  /** 是否显示更多 */
  showMore?: boolean;
  /** 更多链接 */
  moreLink?: string | null;
  /** 自定义样式 */
  style?: any;
  /** 标签自动切换 */
  tabsAutoSwitch?: boolean | null;
  /** @format int32 */
  sort?: number;
}

export interface KunlunModelsSearchCriteriaRequest {
  /** 类别(客户端：user_service-服务，user_requirement-需求，user_merchant-商家；商家端：merchant_member-客户) */
  type?: string | null;
}

export interface KunlunModelsSendCouponRequest {
  /** @format int64 */
  memberId?: number;
  /** @format int64 */
  couponId?: number;
  /** @format int32 */
  qty?: number;
}

export interface KunlunModelsSendCouponsRequest {
  memberIds?: number[] | null;
  coupons?: KunlunDomainModelsCouponQty[] | null;
}

export interface KunlunModelsSendMerchantCouponsRequest {
  /** @format int64 */
  merchantId?: number;
  /** @format int64 */
  couponId?: number;
  /** @format int32 */
  qty?: number;
}

export interface KunlunModelsSendVerificationCodeRequest {
  mobile?: string | null;
  type?: KunlunInfrastructureExtensionsVerificationCodeTypes;
}

export interface KunlunModelsSetAccountStateRequest {
  /** @format int32 */
  id?: number;
  isEnabled?: boolean;
}

export interface KunlunModelsSetArticleCategoryStateRequest {
  /** @format int32 */
  id?: number;
  isEnabled?: boolean;
}

export interface KunlunModelsSetBannerStateRequest {
  /** @format int32 */
  id?: number;
  isEnabled?: boolean;
}

export interface KunlunModelsSetCategoryStateRequest {
  /** @format int32 */
  id?: number;
  isEnabled?: boolean;
}

export interface KunlunModelsSetCouponPackageCardMerchantRequest {
  ids?: number[] | null;
  /** @format int64 */
  merchantId?: number;
}

export interface KunlunModelsSetCouponPackageCardPackageRequest {
  ids?: number[] | null;
  /** @format int64 */
  packageId?: number;
}

export interface KunlunModelsSetCouponPackageCardPublishStateRequest {
  ids?: number[] | null;
  isPublished?: boolean;
}

export interface KunlunModelsSetCouponPackageOnlineRequest {
  /** @format int64 */
  id?: number;
  isOnline?: boolean;
}

export interface KunlunModelsSetCouponPackagePromotionPolicyRequest {
  /** @format int64 */
  couponPackageId?: number;
  /** @format int32 */
  promotionPolicyId?: number;
}

export interface KunlunModelsSetCouponPackageTypeStateRequest {
  /** @format int32 */
  id?: number;
  isEnabled?: boolean;
}

export interface KunlunModelsSetCouponStateRequest {
  /** @format int64 */
  id?: number;
  isEnabled?: boolean;
}

export interface KunlunModelsSetHealthCheckDeviceStateRequest {
  id?: string | null;
  isEnabled?: boolean;
}

export interface KunlunModelsSetHomePageProductSectionStateRequest {
  /** @format uuid */
  id?: string;
  isEnabled?: boolean;
}

export interface KunlunModelsSetMemberStateRequest {
  /** @format int64 */
  id?: number;
  isEnabled?: boolean;
}

export interface KunlunModelsSetMerchantDepartmentStateRequest {
  /** @format int64 */
  id?: number;
  isEnabled?: boolean;
}

export interface KunlunModelsSetMerchantOperationFeeStateRequest {
  /** @format int64 */
  merchantId?: number;
  /** @format int32 */
  operationFeeId?: number;
  isEnabled?: boolean;
}

export interface KunlunModelsSetMerchantStateRequest {
  /** @format int64 */
  merchantId?: number;
  state?: KunlunDomainMerchantStates;
}

export interface KunlunModelsSetNavigationStateRequest {
  /** @format int32 */
  id?: number;
  isEnabled?: boolean;
}

export interface KunlunModelsSetProductOnlineRequest {
  /** @format int64 */
  id?: number;
  isOnline?: boolean;
}

export interface KunlunModelsSetProductSkuEnabledRequest {
  /** @format int64 */
  id?: number;
  isEnabled?: boolean;
}

export interface KunlunModelsSetProductSkuPriceSchemeRequest {
  /** @format int64 */
  id?: number;
  /** true=会员价，false=原价 */
  isMemberPrice?: boolean;
  memberLevel?: KunlunDomainMemberLevels;
  /**
   * 分配方案Id
   * @format int32
   */
  schemeId?: number;
}

export interface KunlunModelsSetProductSkuPurchaseEnabledRequest {
  /** @format int64 */
  id?: number;
  isEnabled?: boolean;
}

export interface KunlunModelsSetProductsOnlineRequest {
  ids?: number[] | null;
  isOnline?: boolean;
}

export interface KunlunModelsSetPromoterStateRequest {
  /** @format int64 */
  id?: number;
  isEnabled?: boolean;
}

export interface KunlunModelsSetPromoterTypeRequest {
  /** @format int64 */
  id?: number;
  type?: KunlunDomainPromoterTypes;
}

export interface KunlunModelsSetPromotionPolicyStateRequest {
  /** @format int32 */
  id?: number;
  isEnabled?: boolean;
}

export interface KunlunModelsSetPurchasePolicyRequest {
  /** @format int64 */
  productId?: number;
  /** @format int32 */
  purchasePolicyId?: number;
}

export interface KunlunModelsSetSettlementPolicyRequest {
  /** @format int64 */
  productId?: number;
  /** @format int32 */
  settlementPolicyId?: number;
}

export interface KunlunModelsSetSharingMaterialStateRequest {
  /** @format uuid */
  id?: string;
  isEnabled?: boolean;
}

export interface KunlunModelsSharingMaterialListItem {
  /** @format uuid */
  id?: string;
  title: string | null;
  picture: string | null;
  isEnabled?: boolean;
  /** @format date-time */
  creationTime?: string;
  /** @format int32 */
  sort?: number;
  isFirst?: boolean;
  isLast?: boolean;
}

export interface KunlunModelsSkuListItem {
  price?: KunlunDomainModelsPriceModel;
  unifiedMemberPrice?: KunlunDomainModelsPriceModel;
  /** 分等级会员价 */
  memberPrices?: Record<string, KunlunDomainModelsPriceModel>;
  limitedMemberLevel?: KunlunDomainLimitedMemberLevel;
  /** 可购买等级 */
  limitedMemberLevelName?: string | null;
  id?: string | null;
  productId?: string | null;
  /** 名称 */
  name?: string | null;
  /** 类别 */
  categoryName?: string | null;
  /** 规格 */
  spec?: string | null;
  isOnline?: boolean;
  isEnabled?: boolean;
  isPurchaseEnabled?: boolean;
}

export interface KunlunModelsSkuListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
}

export interface KunlunModelsStockInDetailResponse {
  /** @format uuid */
  id?: string;
  serialNo?: string | null;
  state?: KunlunDomainEntitiesStockInState;
  stateName?: string | null;
  /** @format uuid */
  stockroomId?: string | null;
  /** @format date-time */
  storageTime?: string;
  storageUserName?: string | null;
  /** @format date-time */
  confirmationTime?: string | null;
  confirmationUserName?: string | null;
  remark?: string | null;
  items?: KunlunModelsStockInDetailResponseItem[] | null;
}

export interface KunlunModelsStockInDetailResponseItem {
  productId?: string | null;
  skuId?: string | null;
  name?: string | null;
  spec?: string | null;
  picture?: string | null;
  /** @format int32 */
  qty?: number;
}

export interface KunlunModelsStockInListItem {
  /** @format uuid */
  id?: string;
  serialNo?: string | null;
  state?: KunlunDomainEntitiesStockInState;
  stateName?: string | null;
  stockroomName?: string | null;
  /** @format date-time */
  storageTime?: string;
  storageUserName?: string | null;
  /** @format date-time */
  confirmationTime?: string | null;
  confirmationUserName?: string | null;
  items?: KunlunModelsStockInListItemItem[] | null;
}

export interface KunlunModelsStockInListItemItem {
  productId?: string | null;
  skuId?: string | null;
  name?: string | null;
  spec?: string | null;
  picture?: string | null;
  /** @format int32 */
  qty?: number;
}

export interface KunlunModelsStockInListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
}

export interface KunlunModelsStockOutDetailResponse {
  /** @format uuid */
  id?: string;
  serialNo?: string | null;
  state?: KunlunDomainEntitiesStockOutState;
  stateName?: string | null;
  type?: KunlunDomainStockOutType;
  /** @format uuid */
  stockroomId?: string;
  /** @format date-time */
  outboundTime?: string;
  outboundUserName?: string | null;
  /** @format date-time */
  confirmationTime?: string | null;
  confirmationUserName?: string | null;
  remark?: string | null;
  items?: KunlunModelsStockOutDetailResponseItem[] | null;
}

export interface KunlunModelsStockOutDetailResponseItem {
  productId?: string | null;
  skuId?: string | null;
  name?: string | null;
  spec?: string | null;
  picture?: string | null;
  /** @format int32 */
  qty?: number;
}

export interface KunlunModelsStockOutListItem {
  /** @format uuid */
  id?: string;
  serialNo?: string | null;
  state?: KunlunDomainEntitiesStockOutState;
  stateName?: string | null;
  type?: KunlunDomainStockOutType;
  typeName?: string | null;
  stockroomName?: string | null;
  /** @format date-time */
  outboundTime?: string;
  outboundUserName?: string | null;
  /** @format date-time */
  confirmationTime?: string | null;
  confirmationUserName?: string | null;
  items?: KunlunModelsStockOutListItemItem[] | null;
}

export interface KunlunModelsStockOutListItemItem {
  productId?: string | null;
  skuId?: string | null;
  name?: string | null;
  spec?: string | null;
  picture?: string | null;
  /** @format int32 */
  qty?: number;
}

export interface KunlunModelsStockOutListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
}

export interface KunlunModelsStockroomListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
}

export interface KunlunModelsStockroomModel {
  /** @format uuid */
  id?: string;
  name?: string | null;
  remark?: string | null;
  /** @format date-time */
  creationTime?: string;
}

export interface KunlunModelsStringProductPriceScheme {
  /** @format double */
  price?: number;
  coupon?: KunlunDomainModelsNullableCouponQty;
  /** @format int32 */
  schemeId?: number | null;
}

export interface KunlunModelsTakeDeliveryRequest {
  /** @format int64 */
  orderId?: number;
  /** @format uuid */
  deliveryId?: string | null;
  /** @format date-time */
  arrivalTime?: string;
}

export interface KunlunModelsUpdateAdminUserRequest {
  /** @minLength 1 */
  account: string;
  password?: string | null;
  /**
   * @minLength 1
   * @maxLength 8
   */
  name: string;
  isEnabled?: boolean;
  /** 省市区 */
  region?: KunlunDomainModelsAreaModel;
  /** @format int32 */
  id?: number | null;
}

export interface KunlunModelsUpdateAttributeRequest {
  /** @format int32 */
  id?: number;
  /** @minLength 1 */
  name: string;
  isEnabled?: boolean;
  type?: KunlunDomainEntitiesProductAttributeType;
  isMultiSelect?: boolean | null;
  showInListPage?: boolean;
  remark?: string | null;
}

export interface KunlunModelsUpdateAttributeValueRequest {
  /** @format int32 */
  id?: number;
  name?: string | null;
  isEnabled?: boolean;
}

export interface KunlunModelsUpdateCategoryRequest {
  /** @format int32 */
  id?: number;
  type?: KunlunDomainProductType;
  /** @format int32 */
  parentId?: number | null;
  /** @minLength 1 */
  name: string;
  isEnabled?: boolean;
  remark?: string | null;
  hospitalProductType?: KunlunDomainEntitiesHospitalProductType;
}

export interface KunlunModelsUpdateMerchantGalleryRequest {
  /** @format int32 */
  id?: number;
  resourceUrl?: string | null;
  description?: string | null;
}

export interface KunlunModelsUpdatePolicyDetailRequest {
  /** @format int32 */
  policyId?: number;
  /** @format int32 */
  institutionLevel?: number;
  /** @format double */
  balancePercent?: number;
  remark?: string | null;
}

export interface KunlunModelsUpdateProductRequest {
  /** @format int64 */
  id?: number;
  /** @minLength 1 */
  name: string;
  /** @minLength 1 */
  picture: string;
  galleries?: KunlunDomainEntitiesProductGalleryModel[] | null;
  type?: KunlunDomainProductType;
  /** @format int32 */
  tag?: number;
  /** @format int32 */
  categoryId?: number;
  attributes?: Record<string, any>;
  /** @minLength 1 */
  description: string;
  appointmentInstruction?: string | null;
  sharePosters?: KunlunDomainModelsSharePoster[] | null;
  remark?: string | null;
  orderCollections?: KunlunDomainEntitiesProductOrderCollections;
  /** 告知书标题 */
  noticeTitle?: string | null;
  /** 告知书内容 */
  noticeContent?: string | null;
  hospitalProductType?: KunlunDomainEntitiesHospitalProductType;
  allowanceAcceleration?: KunlunDomainEntitiesNullableAllowanceAccelerationSetting;
}

export interface KunlunModelsUpdatePurchasePolicyDetailRequest {
  /** @format int32 */
  policyId?: number;
  /** @format int32 */
  institutionLevel?: number;
  /** @format double */
  discount?: number;
  remark?: string | null;
}

export interface KunlunModelsUserListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
}

export interface KunlunModelsUserListResponse {
  id?: string | null;
  account?: string | null;
  name?: string | null;
  merchantName?: string | null;
  remark?: string | null;
  isEnabled?: boolean;
}

export interface KunlunModelsUserMenuDetailResponse {
  /** @format int32 */
  id?: number;
  /** @format int32 */
  sectionId?: number;
  /**
   * 上级菜单Id
   * @format int32
   */
  parentId?: number | null;
  title?: string | null;
  icon?: string | null;
  navigationType?: KunlunDomainEntitiesUserMenuNavigationType;
  navigationUrl?: string | null;
  parameters?: any;
  /** 背景色 */
  backgroundColor?: string | null;
  isHot?: boolean;
  pictures?: string[] | null;
  introduction?: string | null;
}

export interface KunlunModelsUserMenuListItem {
  /** @format int32 */
  id?: number;
  /** @format int32 */
  sectionId?: number;
  sectionTitle?: string | null;
  /**
   * 上级菜单Id
   * @format int32
   */
  parentId?: number | null;
  title?: string | null;
  icon?: string | null;
  navigationType?: KunlunDomainEntitiesUserMenuNavigationType;
  navigationTypeName?: string | null;
  navigationUrl?: string | null;
  parameters?: any;
  /** 背景色 */
  backgroundColor?: string | null;
  isHot?: boolean;
  isFirst?: boolean;
  isLast?: boolean;
}

export interface KunlunModelsUserMenuListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  /** @format int32 */
  sectionId?: number | null;
  /** @format int32 */
  parentId?: number | null;
}

export interface KunlunModelsUserMenuSectionListItem {
  /** @format int32 */
  id?: number;
  title?: string | null;
  creatorName?: string | null;
  /** @format date-time */
  creationTime?: string;
  isFirst?: boolean;
  isLast?: boolean;
}

export interface KunlunModelsWidgetContentAreaListItem {
  /** @format uuid */
  id?: string;
  /** @format uuid */
  widgetId?: string;
  /** 内容区域标题 */
  title?: string | null;
  type?: KunlunDomainEntitiesWidgetContentAreaType;
  dataSource?: KunlunDomainEntitiesWidgetContentDataSource;
  /** 内容参数 */
  parameters?: any;
  /**
   * 列数
   * @format int32
   */
  columns?: number | null;
  /**
   * 限制显示项的数量
   * @format int32
   */
  limit?: number | null;
  itemLayout?: KunlunDomainEntitiesWidgetItemLayout;
  /**
   * 项宽度
   * @format double
   */
  itemWidth?: number | null;
  /**
   * 项高度
   * @format double
   */
  itemHeight?: number | null;
  /** 自定义样式 */
  style?: any;
  /** @format int32 */
  sort?: number;
  typeName?: string | null;
  dataSourceName?: string | null;
  itemLayoutName?: string | null;
}

export interface KunlunModelsWidgetContentAreaListRequest {
  /** @format uuid */
  widgetId?: string;
}

export interface KunlunModelsWidgetItemListItem {
  /** @format uuid */
  id?: string;
  /** @format uuid */
  contentAreaId?: string;
  /** 背景色 */
  backgroundColor?: string | null;
  layout?: KunlunDomainEntitiesWidgetItemLayout;
  navigationType?: KunlunDomainEntitiesWidgetItemNavigationType;
  /** 自定义导航链接 */
  navigationUrl?: string | null;
  /** 参数 */
  parameters?: any;
  /**
   * 宽度
   * @format double
   */
  width?: number | null;
  /**
   * 高度
   * @format double
   */
  height?: number | null;
  imageUrl?: string | null;
  title?: string | null;
  description?: string | null;
  /** @format double */
  price?: number | null;
  coupon?: KunlunDomainModelsCouponNameQty;
  /** 自定义样式 */
  style?: any;
  /** @format int32 */
  sort?: number;
  layoutName?: string | null;
  navigationTypeName?: string | null;
}

export interface KunlunModelsWidgetItemListRequest {
  /** @format uuid */
  contentAreaId?: string;
}

export interface KunlunModelsWidgetListItem {
  /** @format uuid */
  id?: string;
  /** @format uuid */
  pageId?: string;
  layout?: KunlunDomainEntitiesWidgetLayout;
  /**
   * 组件标题
   * @minLength 1
   */
  title: string;
  /** 是否显示标题栏 */
  showTitle?: boolean;
  /** 是否显示更多 */
  showMore?: boolean;
  /** 更多链接 */
  moreLink?: string | null;
  /** 自定义样式 */
  style?: any;
  /** 标签自动切换 */
  tabsAutoSwitch?: boolean | null;
  /** @format int32 */
  sort?: number;
  layoutName?: string | null;
}

export interface KunlunModelsWidgetListRequest {
  /** @format uuid */
  pageId?: string;
}

export interface KunlunModelsWithdrawalListItem {
  id?: string | null;
  type?: KunlunDomainWithdrawalAccountType;
  typeName?: string | null;
  fullAreaName?: string | null;
  merchantId?: string | null;
  merchantName?: string | null;
  merchantCategoryName?: string | null;
  merchantLevelName?: string | null;
  memberId?: string | null;
  memberName?: string | null;
  memberMobile?: string | null;
  adminId?: string | null;
  adminName?: string | null;
  /** @format double */
  amount?: number;
  accountName?: string | null;
  creatorId?: string | null;
  creatorName?: string | null;
  /** @format date-time */
  creationTime?: string;
  approverId?: string | null;
  approverName?: string | null;
  /** @format date-time */
  approvalTime?: string | null;
  approvalComment?: string | null;
  state?: KunlunDomainWithdrawalState;
  stateName?: string | null;
}

export interface KunlunModelsWithdrawalListRequest {
  sortType?: string | null;
  sortField?: string | null;
  /** @format int32 */
  pageIndex?: number;
  /** @format int32 */
  pageSize?: number;
  searchText?: string | null;
  /** 省市区 */
  area?: KunlunDomainModelsAreaModel;
  type?: KunlunDomainWithdrawalAccountType;
  types?: KunlunDomainWithdrawalAccountType[] | null;
  merchantName?: string | null;
  memberName?: string | null;
  state?: KunlunDomainWithdrawalState;
}

export interface KunlunModelsWxGenerateMpQrCodeRequest {
  mp?: string | null;
  path?: string | null;
  query?: string | null;
  /** develop/trial/release */
  version?: string | null;
  /**
   * 大小
   * @format int32
   */
  width?: number | null;
}

export interface KunlunModelsWxSignatureRequest {
  noncestr?: string | null;
  /** @format int64 */
  timestamp?: number;
  url?: string | null;
}

export type OrderAccountListCreateData =
  AspireCoreModelsListModel1KunlunModelsAccountListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type OrderAccountDetailCreateData = KunlunModelsAccountDetailResponse;

/** @format int32 */
export type OrderAccountSaveCreateData = number;

export type OrderAccountSetDefaultCreateData = any;

export type OrderAccountSetStateCreateData = any;

export type OrderAccountApplicationListCreateData =
  AspireCoreModelsListModel1KunlunModelsAccountApplicationListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type OrderAccountApplicationDetailCreateData = KunlunModelsAccountApplicationDetailResponse;

export type OrderAccountPassApplicationCreateData = any;

export type OrderAccountRejectApplicationCreateData = any;

export type OrderAccountConfirmCreateData = any;

export type AdminRoleListCreateData =
  AspireCoreModelsListModel1KunlunModelsAdminRoleModelKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type AdminRoleDetailCreateData = KunlunModelsAdminRoleModel;

export type AdminRoleDeleteCreateData = any;

/** @format int32 */
export type AdminRoleSaveCreateData = number;

export type AdminRoleGetRoleCheckedMenuIdsCreateData = number[];

export type AdminRoleSaveMenusCreateData = any;

export type AdminRoleGetRoleCheckedFeatureIdsCreateData = string[];

export type AdminRoleSaveFeaturesCreateData = any;

export type AdminRoleGetMenusCreateData = KunlunModelsMenuItemModel[];

export type AdminRoleGetFeaturesCreateData = KunlunModelsMenuItemModel[];

export type AdminUserLoginCreateData = KunlunModelsAdminLoginResponse;

export type AdminUserInfoCreateData = KunlunModelsAdminUserModel;

export type AdminUserDetailCreateData = KunlunModelsAdminUserModel;

export type AdminUserSaveCreateData = string;

export type AdminUserDeleteCreateData = any;

export type AdminUserEnabledCreateData = any;

export type AdminUserListCreateData =
  AspireCoreModelsListModel1KunlunModelsAdminUserModelKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type AdminUserChangePasswordCreateData = any;

export type AdminUserSaveRolesCreateData = any;

export type AdminUserGetFeaturesCreateData = string[];

export type AdminUserGetMenusCreateData = KunlunModelsMenuItemModel[];

export type MerchantAgentApplicationListCreateData =
  AspireCoreModelsListModel1KunlunModelsAgentApplicationModelKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type MerchantAgentApplicationDetailCreateData = KunlunModelsAgentApplicationDetailResponse;

export type MerchantAgentApplicationPassCreateData = any;

export type MerchantAgentApplicationRejectCreateData = any;

export type MerchantAgentLevelListCreateData = KunlunModelsAgentLevelListItem[];

export type MerchantAgentLevelDetailCreateData = KunlunModelsAgentLevelDetailResponse;

/** @format int32 */
export type MerchantAgentLevelSaveCreateData = number;

export type MerchantAppointmentListCreateData =
  AspireCoreModelsListModel1KunlunModelsAppointmentListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type MerchantAppointmentConfirmCreateData = any;

export type MerchantAppointmentCancelCreateData = any;

export type MerchantAppointmentFinishCreateData = any;

export type BaseAreaGetAreasListData = KunlunModelsGetAreasResponse;

export type BaseAreaGetAreasCreateData = KunlunModelsGetAreasResponse;

export type BaseAreaGetCascadedAreasListData = KunlunModelsCascadedAreaItem[];

export type ContentArticleListCreateData =
  AspireCoreModelsListModel1KunlunModelsArticleListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type ContentArticleSaveCreateData = string;

export type ContentArticleDetailCreateData = KunlunModelsArticleDetailResponse;

export type ContentArticlePublishCreateData = any;

export type ContentArticleCancelPublishCreateData = any;

export type ContentCategoryListCreateData =
  AspireCoreModelsListModel1KunlunModelsArticleCategoryListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type ContentCategorySaveCreateData = any;

export type ContentCategorySetStateCreateData = any;

export type ContentCategoryDeleteCreateData = any;

export type ContentCategoryCascadeListCreateData = KunlunModelsArticleCategoryCascadeListItem[];

export type ContentArticleNavigationListCreateData = KunlunModelsArticleNavigationListItem[];

export type ContentArticleNavigationSaveCreateData = any;

export type ContentArticleNavigationMoveCreateData = any;

export type ContentArticleNavigationDeleteCreateData = any;

export type BaseBankListCreateData = KunlunModelsBankModel[];

export type ContentBannerListCreateData = KunlunModelsBannerListItem[];

export type ContentBannerSaveCreateData = any;

export type ContentBannerMoveCreateData = any;

export type ContentBannerDeleteCreateData = any;

export type ContentBannerSetStateCreateData = any;

export type BaseBrandListCreateData = KunlunModelsBrandModel[];

export type BaseCodeListData = string;

export type CommonDepartmentListCreateData = KunlunModelsCommonDepartmentListItem[];

export type CommonDepartmentSaveCreateData = any;

export type CommonDepartmentDeleteCreateData = any;

export type CommonDepartmentMoveCreateData = any;

export type MarketingCouponListCreateData =
  AspireCoreModelsListModel1KunlunModelsCouponListResponseKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type MarketingCouponDetailCreateData = KunlunModelsCouponDetailResponse;

export type MarketingCouponSaveCreateData = string;

export type MarketingCouponUpdateGoodsCreateData = any;

export type MarketingCouponSetStateCreateData = any;

export type MarketingCouponReceiveRecordsCreateData =
  AspireCoreModelsListModel1KunlunModelsCouponReceiveRecordResponseKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type MarketingCouponTypeListCreateData = KunlunModelsCouponTypeListResponse[];

export type MarketingCouponInstructionCreateData = KunlunModelsCouponInstructionResponse;

export type MarketingCouponSaveInstructionCreateData = any;

export type MarketingCouponRetractCreateData = any;

export type MarketingCouponPackageListCreateData =
  AspireCoreModelsListModel1KunlunModelsCouponPackageListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type MarketingCouponPackageDetailCreateData = KunlunModelsCouponPackageDetailResponse;

export type MarketingCouponPackageSaveCreateData = string;

export type MarketingCouponPackageSetOnlineCreateData = any;

export type MarketingCouponPackageDeleteCreateData = any;

export type MarketingCouponPackageCouponListCreateData = KunlunModelsCouponPackageCouponListResponse[];

export type MarketingCouponPackageSaveCouponCreateData = any;

export type MarketingCouponPackageDeleteCouponCreateData = any;

export type MarketingCouponPackageSettlementPolicyListCreateData = KunlunModelsCouponPackageSettlementPolicyListItem[];

export type MarketingCouponPackageSaveSettlementPolicyCreateData = any;

export type MarketingCouponPackageRewardSettingListCreateData = KunlunModelsCouponPackageRewardSettingListItem[];

export type MarketingCouponPackageSaveRewardSettingCreateData = any;

export type MarketingCouponPackageDeleteRewardSettingCreateData = any;

/** @format int32 */
export type MarketingCouponPackageGetPromotionPolicyCreateData = number;

export type MarketingCouponPackageSetPromotionPolicyCreateData = any;

export type MarketingCouponPackageMerchantPromotionPolicyListCreateData =
  KunlunModelsCouponPackageMerchantPromotionPolicyListItem[];

export type MarketingCouponPackageSaveMerchantPromotionPolicyCreateData = any;

export type MarketingCouponPackageDeleteMerchantPromotionPolicyCreateData = any;

export type MarketingCouponPackageCompensationSettingDetailCreateData =
  KunlunModelsCouponPackageCompensationSettingResponse;

export type MarketingCouponPackageSaveCompensationSettingCreateData = any;

export type MarketingCouponPackageCardListCreateData =
  AspireCoreModelsListModel1KunlunModelsCouponPackageCardListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type MarketingCouponPackageCardCreateCreateData = any;

export type MarketingCouponPackageCardGiveCreateData = any;

export type MarketingCouponPackageCardDeleteCreateData = any;

export type MarketingCouponPackageCardSetPublishStateCreateData = any;

export type MarketingCouponPackageCardSetMerchantCreateData = any;

export type MarketingCouponPackageCardSetPackageCreateData = any;

export type MarketingCouponPackageCardExchangeRecordListCreateData =
  AspireCoreModelsListModel1KunlunModelsCouponPackageCardExchangeRecordListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

/** @format int32 */
export type MarketingCouponPackageCardGenerateCardsCreateData = number;

export type MarketingCouponPackageCardEncryptCreateData = any;

export type MarketingCouponPackageTypeListCreateData = KunlunModelsCouponPackageTypeListItem[];

/** @format int32 */
export type MarketingCouponPackageTypeSaveCreateData = number;

export type MarketingCouponPackageTypeDeleteCreateData = any;

export type MarketingCouponPackageTypeSetStateCreateData = any;

export type MarketingCouponPackageTypeCascadeListCreateData = KunlunModelsCouponPackageTypeCascadeItem[];

export type CustomerServiceListCreateData =
  AspireCoreModelsListModel1KunlunModelsCustomerServiceListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type CustomerServiceSaveCreateData = any;

export type CustomerServiceDeleteCreateData = any;

export type BaseDepartmentListCreateData = KunlunDomainExtensionsCommonDepartmentModel[];

export type BaseDepartmentCascadeListCreateData = KunlunModelsDepartmentCascadeListItem[];

export type BaseDictionaryGetDictionariesCreateData = Record<string, KunlunModelsDictionaryModel[]>;

export type BaseDictionaryGetDictionaryCreateData = KunlunModelsDictionaryModel[];

export type BaseDictionaryReloadCacheCreateData = any;

export type OrderDivideListCreateData =
  AspireCoreModelsListModel1KunlunModelsDivideListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type OrderDivideDetailListCreateData = KunlunModelsDivideDetailListItem[];

export type OrderDivideQueryAccountCreateData = KunlunModelsQueryAccountResponse;

export type MerchantEntryApplicationListCreateData =
  AspireCoreModelsListModel1KunlunModelsEntryApplicationModelKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type MerchantEntryApplicationDetailCreateData = KunlunModelsEntryApplicationDetailResponse;

export type MerchantEntryApplicationPassCreateData = any;

export type MerchantEntryApplicationRejectCreateData = any;

export type OrderExpressCompanyListCreateData = KunlunModelsExpressCompanyModel[];

export type FudanDepartmentListCreateData =
  AspireCoreModelsListModel1KunlunModelsFudanDepartmentListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type FudanDepartmentSaveCreateData = any;

export type FudanDepartmentDeleteCreateData = any;

export type FudanDepartmentMoveCreateData = any;

export type BaseGlobalSettingsListData = KunlunModelsGlobalSettingsModel;

export type HealthCheckDeviceListCreateData =
  AspireCoreModelsListModel1KunlunModelsHealthCheckDeviceListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type HealthCheckDeviceSaveCreateData = any;

export type HealthCheckDeviceSetStateCreateData = any;

export type HealthCheckDeviceDeleteCreateData = any;

export type HealthCheckDeviceSyncCreateData = any;

export type HealthCheckReportListCreateData =
  AspireCoreModelsListModel1KunlunModelsHealthCheckReportListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type HealthCheckCreateUserCreateData = string;

export type HealthCheckGetUserCreateData = KunlunDomainProvidersHealthCheckIHealthCheckGetUserResponse;

export type ContentHomePageProductSectionListCreateData = KunlunModelsHomePageProductSectionListItem[];

export type ContentHomePageProductSectionSaveCreateData = any;

export type ContentHomePageProductSectionSetStateCreateData = any;

export type ContentHomePageProductSectionMoveCreateData = any;

/** @format int32 */
export type BaseIdGeneratorGetGeneratorIdCreateData = number;

export type BaseIndustryGetIndustriesCreateData = KunlunModelsIndustryModel[];

export type MallInventoryListCreateData =
  AspireCoreModelsListModel1KunlunModelsInventoryListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type BaseLocationSearchCreateData = any[];

export type BaseLocationSuggestionCreateData = any[];

export type BaseLocationGeocoderCreateData = any;

export type BaseLocationGetAreaCreateData = KunlunDomainModelsAreaModel;

export type BaseLocationIpLocationCreateData = KunlunInfrastructureServicesTencentMapIpLocationResult;

export type LogisticsOrderExpressCreateData = string;

export type LogisticsRoutesExpressTrackingNumberListData = string[];

export type MallOrderListCreateData =
  AspireCoreModelsListModel1KunlunModelsMallOrderListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type MallOrderDetailCreateData = KunlunModelsMallOrderDetailResponse;

export type MallOrderSaveDeliveryCreateData = any;

export type MallOrderTakeDeliveryCreateData = any;

export type MemberMemberListCreateData =
  AspireCoreModelsListModel1KunlunModelsMemberListResponseKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type MemberMemberDetailCreateData = KunlunModelsMemberDetailResponse;

export type MemberMemberSaveCreateData = any;

export type MemberMemberSetStateCreateData = any;

export type MemberMemberBasicInfoCreateData = KunlunModelsMemberBasicInfoResponse;

export type MemberMemberCheckExistenceCreateData = boolean;

export type MemberMemberReloadCacheCreateData = any;

export type MemberMemberUpdateAgentMembersCreateData = any;

export type MemberAddressListCreateData =
  AspireCoreModelsListModel1KunlunModelsMemberAddressListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type MemberAssetListCreateData = KunlunModelsMemberAssetListResponse;

export type MemberAssetSummaryCreateData = KunlunModelsMemberAssetSummaryResponse;

export type MemberBillListCreateData = KunlunModelsMemberBillListResponse;

export type MemberCouponSendCreateData = any;

export type MemberCouponSendBatchCreateData = any;

export type MarketingMemberLevelListCreateData = KunlunModelsMemberLevelListItem[];

export type MarketingMemberLevelDetailCreateData = KunlunModelsMemberLevelDetailResponse;

export type MarketingMemberLevelSaveCreateData = any;

export type MarketingMemberLevelUpgradeRewardSettingListCreateData =
  KunlunModelsMemberLevelUpgradeRewardSettingListItem[];

export type MarketingMemberLevelSaveUpgradeRewardSettingCreateData = any;

export type MarketingMemberLevelDeleteUpgradeRewardSettingCreateData = any;

export type MerchantMerchantAdminListCreateData = KunlunModelsMerchantAdminListResponse[];

export type MerchantMerchantAdminDetailCreateData = KunlunModelsMerchantAdminDetailResponse;

export type MerchantMerchantSaveAdminCreateData = any;

export type MerchantMerchantDeleteAdminCreateData = any;

export type MerchantMerchantAdvantageListCreateData = KunlunModelsMerchantAdvantageListItem[];

export type MerchantMerchantSaveAdvantageCreateData = any;

export type MerchantMerchantDeleteAdvantageCreateData = any;

export type MerchantMerchantAgentInstitutionListCreateData = KunlunModelsAgentInstitutionListItem[];

export type MerchantMerchantAddAgentInstitutionsCreateData = any;

export type MerchantMerchantDeleteAgentInstitutionCreateData = any;

export type MerchantMerchantAgentInstitutionProductListCreateData = KunlunModelsAgentInstitutionProductListItem[];

export type MerchantMerchantSaveAgentInstitutionProductCreateData = any;

export type MerchantMerchantDeleteAgentInstitutionProductCreateData = any;

export type MerchantMerchantListCreateData = KunlunModelsMerchantListResponse;

export type MerchantMerchantDetailCreateData = KunlunModelsMerchantDetailResponse;

export type MerchantMerchantBasicInfoCreateData = KunlunModelsMerchantBasicInfoResponse;

export type MerchantMerchantSaveCreateData = string;

export type MerchantMerchantDeleteCreateData = any;

export type MerchantMerchantSetStateCreateData = any;

export type MerchantMerchantSaveIntroductionCreateData = any;

export type MerchantMerchantRelationListCreateData = KunlunModelsMerchantRelationListItem[];

export type MerchantMerchantPartnerAreaListCreateData = KunlunModelsMerchantPartnerAreaListItem[];

export type MerchantMerchantAddPartnerAreaCreateData = any;

export type MerchantMerchantDeletePartnerAreaCreateData = any;

export type MerchantMerchantReloadCacheCreateData = any;

export type MerchantMerchantImportFromHospitalCreateData = any;

export type MerchantMerchantImportHdfDepartmentCreateData = any;

export type MerchantMerchantDepartmentListCreateData = KunlunModelsMerchantDepartmentListItem[];

export type MerchantMerchantSaveDepartmentCreateData = any;

export type MerchantMerchantDeleteDepartmentCreateData = any;

export type MerchantMerchantMoveDepartmentCreateData = any;

export type MerchantMerchantSetDepartmentStateCreateData = any;

export type MerchantMerchantDepartmentCascadeListCreateData = KunlunModelsMerchantDepartmentCascadeItem[];

export type MerchantMerchantChildDepartmentListCreateData = KunlunModelsMerchantDepartmentListItem[];

export type MerchantMerchantDoctorListCreateData =
  AspireCoreModelsListModel1KunlunModelsDoctorListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type MerchantMerchantSaveDoctorCreateData = any;

export type MerchantMerchantDoctorDetailCreateData = KunlunModelsDoctorDetailResponse;

export type MerchantMerchantDeleteDoctorCreateData = any;

export type MerchantMerchantGalleryListCreateData = KunlunModelsMerchantGalleryModel[];

export type MerchantMerchantAddGalleryCreateData = any;

export type MerchantMerchantUpdateGalleryCreateData = any;

export type MerchantMerchantDeleteGalleryCreateData = any;

export type MerchantMerchantSaveGalleriesCreateData = any;

export type MerchantMerchantMemberGiftSettingListCreateData = KunlunModelsMerchantMemberGiftSettingListItem[];

export type MerchantMerchantSaveMemberGiftSettingCreateData = any;

export type MerchantMerchantMemberGiftListCreateData = KunlunModelsMerchantMemberGiftListItem[];

export type MerchantMerchantOperationFeeListCreateData = KunlunModelsMerchantOperationFeeListItem[];

export type MerchantMerchantSetOperationFeeStateCreateData = any;

export type MerchantMerchantOrganizationOperationFeeAgentDivideSettingListCreateData =
  KunlunModelsOrganizationAgentOperationFeeDivideSettingListItem[];

export type MerchantMerchantSaveOrganizationAgentOperationFeeDivideSettingCreateData = any;

export type MerchantMerchantProductListCreateData = KunlunModelsMerchantProductListItem[];

export type MerchantMerchantSaveProductCreateData = any;

export type MerchantMerchantDeleteProductCreateData = any;

export type MerchantMerchantMoveProductCreateData = any;

export type MerchantMerchantQualificationDetailCreateData = KunlunModelsQualificationDetailResponse;

export type MerchantMerchantSaveBusinessQualificationCreateData = any;

export type MerchantMerchantSaveMedicalQualificationCreateData = any;

export type MerchantAssetListCreateData = KunlunModelsMerchantAssetListResponse;

export type MerchantAssetSummaryCreateData = KunlunModelsMerchantAssetSummaryResponse;

export type MerchantBillListCreateData = KunlunModelsMerchantBillListResponse;

export type MerchantCouponSendCreateData = any;

export type MerchantPositionListCreateData = KunlunModelsPositionListItem[];

/** @format int32 */
export type MerchantPositionSaveCreateData = number;

export type MallNavigationListCreateData = KunlunModelsNavigationListItem[];

export type MallNavigationSaveCreateData = any;

export type MallNavigationSetStateCreateData = any;

export type MallNavigationMoveCreateData = any;

export type MerchantOperationFeeListCreateData =
  AspireCoreModelsListModel1KunlunModelsOperationFeeModelKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type MerchantOperationFeeDetailCreateData = KunlunModelsOperationFeeModel;

/** @format int32 */
export type MerchantOperationFeeSaveCreateData = number;

export type MerchantOperationFeeDeleteCreateData = any;

export type MerchantOperationFeeSaveCustomerAgentDivideSettingCreateData = any;

export type MerchantOperationFeeSaveOrganizationAgentDivideSettingCreateData = any;

export type MerchantOperationFeeMemberRewardSettingListCreateData =
  KunlunModelsOperationFeeMemberRewardSettingListItem[];

export type MerchantOperationFeeSaveMemberRewardSettingCreateData = any;

export type MerchantOperationFeeDeleteMemberRewardSettingCreateData = any;

export type OrderOrderListCreateData =
  AspireCoreModelsListModel1KunlunModelsOrderListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type OrderOrderDetailCreateData = KunlunModelsOrderDetailResponse;

export type OrderOrderCloseCreateData = any;

export type OrderOrderIsTradeManagedCreateData = boolean;

export type OrderOrderRefundListCreateData =
  AspireCoreModelsListModel1KunlunModelsOrderRefundApplicationListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type OrderOrderPassRefundCreateData = any;

export type OrderOrderRejectRefundCreateData = any;

export type PageListCreateData =
  AspireCoreModelsListModel1KunlunModelsPageListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type PageSaveCreateData = any;

export type PageDeleteCreateData = any;

export type PageWidgetListCreateData = KunlunModelsWidgetListItem[];

export type PageSaveWidgetCreateData = any;

export type PageDeleteWidgetCreateData = any;

export type PageMoveWidgetCreateData = any;

export type PageWidgetContentAreaListCreateData = KunlunModelsWidgetContentAreaListItem[];

export type PageSaveWidgetContentAreaCreateData = any;

export type PageDeleteWidgetContentAreaCreateData = any;

export type PageMoveWidgetContentAreaCreateData = any;

export type PageWidgetItemListCreateData = KunlunModelsWidgetItemListItem[];

export type PageSaveWidgetItemCreateData = any;

export type PageDeleteWidgetItemCreateData = any;

export type PageMoveWidgetItemCreateData = any;

export type MallPickupAddressListCreateData = KunlunModelsPickupAddressListItem[];

export type MallPickupAddressDetailCreateData = KunlunModelsPickupAddressDetailResponse;

/** @format uuid */
export type MallPickupAddressSaveCreateData = string;

export type MallPickupAddressDeleteCreateData = any;

export type PlatformAccountListCreateData =
  AspireCoreModelsListModel1KunlunModelsPlatformAccountListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type PlatformAccountDetailCreateData = KunlunModelsPlatformAccountDetailResponse;

/** @format int32 */
export type PlatformAccountSaveCreateData = number;

export type PlatformAccountSetDefaultCreateData = any;

export type PlatformAccountConfirmCreateData = any;

export type PlatformAssetSummaryCreateData = KunlunModelsPlatformAssetSummaryResponse;

export type PlatformBillListCreateData = KunlunModelsPlatformBillListResponse;

export type MallPolicyListCreateData =
  AspireCoreModelsListModel1KunlunModelsPolicyListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type MallPolicyDetailCreateData = KunlunModelsPolicyDetailResponse;

/** @format int32 */
export type MallPolicySaveCreateData = number;

export type MallPolicyDetailListCreateData = KunlunModelsPolicyDetailListItem[];

export type MallPolicyUpdateDetailCreateData = any;

export type MallPolicyMerchantPolicyListCreateData =
  AspireCoreModelsListModel1KunlunModelsMerchantPolicyListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type MallProductListCreateData =
  AspireCoreModelsListModel1KunlunModelsProductListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type MallProductDetailCreateData = KunlunModelsProductDetailResponse;

export type MallProductCreateCreateData = string;

export type MallProductUpdateCreateData = string;

export type MallProductSetOnlineCreateData = any;

export type MallProductSetOnlineBatchCreateData = any;

export type MallProductDeleteCreateData = any;

export type MallProductDeleteBatchCreateData = any;

export type MallProductSkuListCreateData = KunlunModelsProductSkuListItem[];

export type MallProductSkuDetailCreateData = KunlunModelsProductSkuDetailResponse;

export type MallProductSaveSkuCreateData = any;

export type MallProductDeleteSkuCreateData = any;

export type MallProductMoveSkuCreateData = any;

export type MallProductSetSkuPriceSchemeCreateData = any;

export type MallProductSetSkuEnabledCreateData = any;

export type MallProductSetSkuPurchaseEnabledCreateData = any;

export type MallProductAreaListCreateData = KunlunModelsProductAreaListItem[];

export type MallProductSaveAreaCreateData = any;

export type MallProductDeleteAreaCreateData = any;

/** @format int32 */
export type MallProductGetPolicyCreateData = number;

/** @format int32 */
export type MallProductGetPurchasePolicyCreateData = number;

export type MallProductSetPolicyCreateData = any;

export type MallProductSetPurchasePolicyCreateData = any;

export type MallAttributeListCreateData = KunlunModelsAttributeListItem[];

/** @format int32 */
export type MallAttributeCreateCreateData = number;

/** @format int32 */
export type MallAttributeUpdateCreateData = number;

export type MallAttributeDetailCreateData = KunlunModelsAttributeDetailResponse;

export type MallAttributeMoveCreateData = any;

export type MallAttributeDeleteCreateData = any;

export type MallAttributeValueListCreateData = KunlunModelsAttributeValueListItem[];

export type MallAttributeCreateValueCreateData = any;

export type MallAttributeUpdateValueCreateData = any;

export type MallAttributeMoveValueCreateData = any;

export type MallCategoryListCreateData = KunlunModelsCategoryListItem[];

export type MallCategoryDetailCreateData = KunlunModelsCategoryDetailResponse;

/** @format int32 */
export type MallCategoryCreateCreateData = number;

/** @format int32 */
export type MallCategoryUpdateCreateData = number;

export type MallCategoryDeleteCreateData = any;

export type MallCategorySetStateCreateData = any;

export type MallCategoryCascadeListCreateData = KunlunModelsCategoryCascadeItem[];

export type ProductOrderListCreateData =
  AspireCoreModelsListModel1KunlunModelsProductOrderListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type ProductOrderDetailCreateData = KunlunModelsProductOrderDetailResponse;

export type ProductOrderGetAgentsCreateData =
  KunlunInfrastructureModelsIdNameModel1SystemStringSystemPrivateCoreLibVersion9000CultureNeutralPublicKeyToken7Cec85D7Bea7798E[];

export type ProductOrderConfirmAgentCreateData = any;

export type ProductRevenueAllocationSchemeListCreateData =
  AspireCoreModelsListModel1KunlunModelsProductRevenueAllocationSchemeModelKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type ProductRevenueAllocationSchemeDetailCreateData = KunlunModelsProductRevenueAllocationSchemeDetailResponse;

/** @format int32 */
export type ProductRevenueAllocationSchemeSaveCreateData = number;

export type ProductRevenueAllocationSchemeDeleteCreateData = any;

export type ProductRevenueAllocationSchemeSaveCustomerAgentDivideSettingCreateData = any;

export type ProductRevenueAllocationSchemeSaveOrganizationAgentDivideSettingCreateData = any;

export type ProductRevenueAllocationSchemeMemberRewardSettingListCreateData =
  KunlunModelsProductRevenueAllocationSchemeMemberRewardSettingListItem[];

export type ProductRevenueAllocationSchemeSaveMemberRewardSettingCreateData = any;

export type ProductRevenueAllocationSchemeDeleteMemberRewardSettingCreateData = any;

export type MemberPromoterListCreateData =
  AspireCoreModelsListModel1KunlunModelsPromoterListResponseKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type MemberPromoterSetStateCreateData = any;

export type MemberPromoterSetTypeCreateData = any;

export type PromotionPolicyListCreateData =
  AspireCoreModelsListModel1KunlunModelsPromotionPolicyListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type PromotionPolicyDetailCreateData = KunlunModelsPromotionPolicyDetailResponse;

/** @format int32 */
export type PromotionPolicySaveCreateData = number;

export type PromotionPolicySetStateCreateData = any;

export type PromotionPolicyDetailListCreateData = KunlunModelsPromotionPolicyDetailListItem[];

export type PromotionPolicySaveDetailCreateData = any;

export type PromotionPolicyDeleteDetailCreateData = any;

export type MarketingPurchaseCouponPackageListCreateData =
  AspireCoreModelsListModel1KunlunModelsPurchaseCouponPackageListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type MarketingPurchaseCouponPackageDetailCreateData = KunlunModelsPurchaseCouponPackageDetailResponse;

export type MarketingPurchaseCouponPackageSaveCreateData = string;

export type MarketingPurchaseCouponPackageSetOnlineCreateData = any;

export type MarketingPurchaseCouponPackageDeleteCreateData = any;

export type MarketingPurchaseCouponPackageCouponListCreateData = KunlunModelsPurchaseCouponPackageCouponListResponse[];

export type MarketingPurchaseCouponPackageSaveCouponCreateData = any;

export type MarketingPurchaseCouponPackageDeleteCouponCreateData = any;

export type MarketingPurchaseCouponPackageSettlementPolicyDetailCreateData =
  KunlunModelsPurchaseCouponPackageSettlementPolicyDetailResponse;

export type MarketingPurchaseCouponPackageSaveSettlementPolicyCreateData = any;

export type MarketingPurchaseCouponPackageOrderUpdateSuppliersCreateData = any;

export type MallPurchaseOrderListCreateData =
  AspireCoreModelsListModel1KunlunModelsPurchaseOrderListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type MallPurchaseOrderDetailCreateData = KunlunModelsPurchaseOrderDetailResponse;

export type MallPurchaseOrderUploadAttachmentsCreateData = any;

export type MallPurchaseOrderConfirmPaymentCreateData = any;

export type MallPurchaseOrderReturnCreateData = any;

export type MallPurchaseOrderConfirmPickupCreateData = any;

export type MallPurchaseOrderDeliveryCreateData = any;

export type MallPurchaseOrderTakeDeliveryCreateData = any;

export type MallPurchaseOrderCloseCreateData = any;

export type MallPurchasePolicyListCreateData =
  AspireCoreModelsListModel1KunlunModelsPurchasePolicyListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type MallPurchasePolicyDetailCreateData = KunlunModelsPurchasePolicyDetailResponse;

/** @format int32 */
export type MallPurchasePolicySaveCreateData = number;

export type MallPurchasePolicyDetailListCreateData = KunlunModelsPurchasePolicyDetailListItem[];

export type MallPurchasePolicyUpdateDetailCreateData = any;

export type MallPurchasePolicyMerchantPolicyListCreateData =
  AspireCoreModelsListModel1KunlunModelsMerchantPurchasePolicyListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type MarketingRegistrationRewardSettingListCreateData =
  AspireCoreModelsListModel1KunlunModelsRegistrationRewardSettingListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type MarketingRegistrationRewardSettingSaveCreateData = any;

export type MarketingRegistrationRewardSettingDeleteCreateData = any;

export type BaseSearchGetSearchConditionsCreateData = KunlunInfrastructureModelsSearchCriteriaModel[];

export type ContentSharingMaterialListCreateData = KunlunModelsSharingMaterialListItem[];

export type ContentSharingMaterialSaveCreateData = any;

export type ContentSharingMaterialSetStateCreateData = any;

export type ContentSharingMaterialMoveCreateData = any;

export type MallSkuListCreateData =
  AspireCoreModelsListModel1KunlunModelsSkuListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type BaseSmsListCreateData =
  AspireCoreModelsListModel1KunlunDomainEntitiesSmsHistoryKunlunDomainVersion1000CultureNeutralPublicKeyTokenNull;

export type BaseSmsSendVerificationCodeCreateData = any;

export type MallStockInListCreateData =
  AspireCoreModelsListModel1KunlunModelsStockInListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type MallStockInDetailCreateData = KunlunModelsStockInDetailResponse;

/** @format uuid */
export type MallStockInSaveCreateData = string;

export type MallStockInSubmitCreateData = any;

export type MallStockInConfirmCreateData = any;

export type MallStockInReturnCreateData = any;

export type MallStockInCancelCreateData = any;

export type MallStockOutListCreateData =
  AspireCoreModelsListModel1KunlunModelsStockOutListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type MallStockOutDetailCreateData = KunlunModelsStockOutDetailResponse;

/** @format uuid */
export type MallStockOutSaveCreateData = string;

export type MallStockOutSubmitCreateData = any;

export type MallStockOutConfirmCreateData = any;

export type MallStockOutReturnCreateData = any;

export type MallStockOutCancelCreateData = any;

export type MallStockroomListCreateData =
  AspireCoreModelsListModel1KunlunModelsStockroomModelKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type MallStockroomDetailCreateData = KunlunModelsStockroomModel;

export type MallStockroomSaveCreateData = any;

export type MallStockroomDeleteCreateData = any;

export type BaseSystemSettingListCreateData = Record<string, string>;

export type MarketingUpgradeRuleDetailCreateData = KunlunDomainModelsUpgradeRuleModel;

export type MarketingUpgradeRuleSaveCreateData = any;

export type BaseUploadListData = any;

export type BaseUploadCreateData = any;

export type BaseUploadUeditorListData = any;

export type BaseUploadUeditorCreateData = any;

export type BaseUploadBatchCreateData = string[];

export type MemberUserListCreateData =
  AspireCoreModelsListModel1KunlunModelsUserListResponseKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type MemberUserCloseCreateData = any;

export type MemberUserReloadCacheCreateData = any;

export type UserMenuSectionListCreateData = KunlunModelsUserMenuSectionListItem[];

export type UserMenuSaveSectionCreateData = any;

export type UserMenuDeleteSectionCreateData = any;

export type UserMenuMoveSectionCreateData = any;

export type UserMenuListCreateData =
  AspireCoreModelsListModel1KunlunModelsUserMenuListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type UserMenuDetailCreateData = KunlunModelsUserMenuDetailResponse;

export type UserMenuSaveCreateData = any;

export type UserMenuMoveCreateData = any;

export type UserMenuDeleteCreateData = any;

export type OrderWithdrawalListCreateData =
  AspireCoreModelsListModel1KunlunModelsWithdrawalListItemKunlunApplicationServicesAdminVersion1000CultureNeutralPublicKeyTokenNull;

export type OrderWithdrawalPassCreateData = any;

export type OrderWithdrawalRejectCreateData = any;

export type OrderWithdrawalReturnCreateData = any;

export type OrderWithdrawalFinishCreateData = any;

export type BaseWxGetSignatureCreateData = string;

export type BaseWxGetAccessTokenCreateData = string;

/** @format byte */
export type BaseWxGenerateMpQrCodeCreateData = string;

/** @format byte */
export type BaseWxGenerateTemporaryMpQrCodeCreateData = string;

export type BaseWxGetUserNotifyListData = KunlunInfrastructureServicesWechatGetUserNotifyResponseNotifyInfoModel;
